1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 #define BEGIN_INTERFACE(BaseClass, PPInterface, InterfaceString) 6 #define END_INTERFACE(BaseClass, PPInterface) 7 #define METHOD0(Class, ReturnType, MethodName) 8 #define METHOD1(Class, ReturnType, MethodName, Type0) 9 #define METHOD2(Class, ReturnType, MethodName, Type0, Type1) 10 #define METHOD3(Class, ReturnType, MethodName, Type0, Type1, Type2) 11 #define METHOD4(Class, ReturnType, MethodName, Type0, Type1, Type2, Type3) 12 #define METHOD5(Class, ReturnType, MethodName, Type0, Type1, Type2, Type3, \ 13 Type4) 14