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

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

Issue 345393004: IDL: Support 'stringifier' keyword (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: move handling of unnamed operations Created 6 years, 6 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2013 Google Inc. All rights reserved. 2 * Copyright (C) 2013 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * 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 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 const unsigned short CONST_VALUE_15 = 010; 60 const unsigned short CONST_VALUE_15 = 010;
61 const unsigned short CONST_VALUE_16 = -010; 61 const unsigned short CONST_VALUE_16 = -010;
62 const unsigned short CONST_VALUE_16 = -0x1A; 62 const unsigned short CONST_VALUE_16 = -0x1A;
63 const unsigned short CONST_VALUE_17 = -0X1a; 63 const unsigned short CONST_VALUE_17 = -0X1a;
64 64
65 // Extended attributes 65 // Extended attributes
66 [DeprecateAs=Constant] const short DEPRECATED_CONSTANT = 1; 66 [DeprecateAs=Constant] const short DEPRECATED_CONSTANT = 1;
67 [RuntimeEnabled=FeatureName] const short FEATURE_ENABLED_CONST = 1; 67 [RuntimeEnabled=FeatureName] const short FEATURE_ENABLED_CONST = 1;
68 [Reflect=CONST_IMPL] const short CONST_JAVASCRIPT = 1; 68 [Reflect=CONST_IMPL] const short CONST_JAVASCRIPT = 1;
69 69
70 stringifier attribute DOMString stringifierAttribute;
70 71
71 // Attributes 72 // Attributes
72 // 73 //
73 // Naming convention: 74 // Naming convention:
74 // [ExtAttr] attribute Type extAttrTypeNameAttribute; 75 // [ExtAttr] attribute Type extAttrTypeNameAttribute;
75 // E.g., 76 // E.g.,
76 // [Foo] attribute DOMString? fooStringOrNullAttribute 77 // [Foo] attribute DOMString? fooStringOrNullAttribute
77 // 78 //
78 // Type name reference: 79 // Type name reference:
79 // http://heycam.github.io/webidl/#dfn-type-name 80 // http://heycam.github.io/webidl/#dfn-type-name
(...skipping 439 matching lines...) Expand 10 before | Expand all | Expand 10 after
519 void voidMethodTestInterfaceWillBeGarbageCollectedArrayArg(TestInterfaceWill BeGarbageCollected[] testInterfaceWillBeGarbageCollectedArrayArg); 520 void voidMethodTestInterfaceWillBeGarbageCollectedArrayArg(TestInterfaceWill BeGarbageCollected[] testInterfaceWillBeGarbageCollectedArrayArg);
520 521
521 // Extended attributes on referenced interfaces 522 // Extended attributes on referenced interfaces
522 // (not self; self-reference tests at interface themselves) 523 // (not self; self-reference tests at interface themselves)
523 attribute TestInterface testInterfaceAttribute; // [ImplementedAs] 524 attribute TestInterface testInterfaceAttribute; // [ImplementedAs]
524 attribute TestInterfaceGarbageCollected testInterfaceGarbageCollectedAttribu te; // [GarbageCollected] 525 attribute TestInterfaceGarbageCollected testInterfaceGarbageCollectedAttribu te; // [GarbageCollected]
525 attribute TestInterfaceGarbageCollected? testInterfaceGarbageCollectedOrNull Attribute; // [GarbageCollected] 526 attribute TestInterfaceGarbageCollected? testInterfaceGarbageCollectedOrNull Attribute; // [GarbageCollected]
526 attribute TestInterfaceWillBeGarbageCollected testInterfaceWillBeGarbageColl ectedAttribute; // [WillBeGarbageCollected] 527 attribute TestInterfaceWillBeGarbageCollected testInterfaceWillBeGarbageColl ectedAttribute; // [WillBeGarbageCollected]
527 attribute TestInterfaceWillBeGarbageCollected? testInterfaceWillBeGarbageCol lectedOrNullAttribute; // [WillBeGarbageCollected] 528 attribute TestInterfaceWillBeGarbageCollected? testInterfaceWillBeGarbageCol lectedOrNullAttribute; // [WillBeGarbageCollected]
528 }; 529 };
OLDNEW
« no previous file with comments | « Source/bindings/tests/idls/TestInterface2.idl ('k') | Source/bindings/tests/results/V8TestInterface.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698