Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(642)

Side by Side Diff: Source/bindings/tests/idls/TestImplements.idl

Issue 37263002: Unify the GlobalEventHandlers list on the C++ side (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: one list to rule the C++ side Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2013 Samsung Electronics. All rights reserved. 2 * Copyright (C) 2013 Samsung Electronics. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary formstrArg, with or without 4 * Redistribution and use in source and binary formstrArg, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 7 *
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 17 matching lines...) Expand all
28 28
29 // This IDL file is for testing the bindings code generator and for tracking 29 // This IDL file is for testing the bindings code generator and for tracking
30 // changes in its ouput. 30 // changes in its ouput.
31 interface TestImplements { 31 interface TestImplements {
32 static readonly attribute long implementsStaticReadOnlyAttr; 32 static readonly attribute long implementsStaticReadOnlyAttr;
33 static attribute DOMString implementsStaticAttr; 33 static attribute DOMString implementsStaticAttr;
34 readonly attribute DOMString implementsStr1; 34 readonly attribute DOMString implementsStr1;
35 attribute DOMString implementsStr2; 35 attribute DOMString implementsStr2;
36 [Custom] attribute DOMString implementsStr3; 36 [Custom] attribute DOMString implementsStr3;
37 attribute Node implementsNode; 37 attribute Node implementsNode;
38 attribute EventHandler eventHandlerAttribute;
38 39
39 void implementsMethod1(); 40 void implementsMethod1();
40 [CallWith=ExecutionContext, RaisesException] TestObject implementsMethod2(DO MString strArg, TestObject objArg); 41 [CallWith=ExecutionContext, RaisesException] TestObject implementsMethod2(DO MString strArg, TestObject objArg);
41 [Custom] void implementsMethod3(); 42 [Custom] void implementsMethod3();
42 static void implementsMethod4(); 43 static void implementsMethod4();
43 44
44 const unsigned short IMPLEMENTSCONSTANT1 = 1; 45 const unsigned short IMPLEMENTSCONSTANT1 = 1;
45 [Reflect=CONST_IMPL] const unsigned short IMPLEMENTSCONSTANT2 = 2; 46 [Reflect=CONST_IMPL] const unsigned short IMPLEMENTSCONSTANT2 = 2;
46 47
47 [RuntimeEnabled=FeatureName23] attribute Node Node23; 48 [RuntimeEnabled=FeatureName23] attribute Node Node23;
48 [PerContextEnabled=FeatureName24] attribute Node Node24; 49 [PerContextEnabled=FeatureName24] attribute Node Node24;
49 }; 50 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698