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

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

Issue 22649003: Have the Performance interface inherit EventTarget (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebaseline additional w3c test Created 7 years, 4 months 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 | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 Google Inc. All rights reserved.
3 * Copyright (C) 2010 Apple Inc. All rights reserved. 3 * Copyright (C) 2010 Apple Inc. All rights reserved.
4 * 4 *
5 * Redistribution and use in source and binary formstrArg, with or without 5 * Redistribution and use in source and binary formstrArg, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 8 *
9 * 1. Redistributions of source code must retain the above copyright 9 * 1. Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 19 matching lines...) Expand all
30 // This IDL file is for testing the bindings code generator and for tracking 30 // This IDL file is for testing the bindings code generator and for tracking
31 // changes in its ouput. 31 // changes in its ouput.
32 32
33 enum TestEnumType { "", "EnumValue1", "EnumValue2", "EnumValue3" }; 33 enum TestEnumType { "", "EnumValue1", "EnumValue2", "EnumValue3" };
34 34
35 callback TestCallbackFunction = void (TestEnumType formal1, TestObject formal2); 35 callback TestCallbackFunction = void (TestEnumType formal1, TestObject formal2);
36 36
37 [ 37 [
38 Constructor(TestCallback testCallback), 38 Constructor(TestCallback testCallback),
39 ImplementedAs=TestObj 39 ImplementedAs=TestObj
40 ] interface TestObject { 40 ] interface TestObject : EventTarget {
41 // Attributes 41 // Attributes
42 readonly attribute long readOnlyLongAttr; 42 readonly attribute long readOnlyLongAttr;
43 readonly attribute DOMString readOnlyStringAttr; 43 readonly attribute DOMString readOnlyStringAttr;
44 readonly attribute TestObject readOnlyTestObjectAttr; 44 readonly attribute TestObject readOnlyTestObjectAttr;
45 static readonly attribute long staticReadOnlyLongAttr; 45 static readonly attribute long staticReadOnlyLongAttr;
46 static attribute DOMString staticStringAttr; 46 static attribute DOMString staticStringAttr;
47 static readonly attribute TestSubObjConstructor TestSubObj; 47 static readonly attribute TestSubObjConstructor TestSubObj;
48 attribute TestEnumType enumAttr; 48 attribute TestEnumType enumAttr;
49 readonly attribute TestEnumType readOnlyEnumAttr; 49 readonly attribute TestEnumType readOnlyEnumAttr;
50 attribute byte byteAttr; 50 attribute byte byteAttr;
(...skipping 268 matching lines...) Expand 10 before | Expand all | Expand 10 after
319 319
320 [DeprecateAs=Method] void deprecatedMethod(); 320 [DeprecateAs=Method] void deprecatedMethod();
321 [DeprecateAs=StaticMethod] static void deprecatedStaticMethod(); 321 [DeprecateAs=StaticMethod] static void deprecatedStaticMethod();
322 322
323 [DeprecateAs=Constant] const unsigned short DEPRECATED_CONSTANT = 1; 323 [DeprecateAs=Constant] const unsigned short DEPRECATED_CONSTANT = 1;
324 }; 324 };
325 325
326 // The following comment should not generate any code 326 // The following comment should not generate any code
327 // TestObject implements TestImplements; 327 // TestObject implements TestImplements;
328 328
OLDNEW
« no previous file with comments | « Source/bindings/scripts/deprecated_code_generator_v8.pm ('k') | Source/bindings/tests/results/V8TestObject.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698