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

Unified Diff: Source/bindings/tests/idls/core/TestObject.idl

Issue 1329653003: [bindings] Club related constants for a runtime enabled flag in a single |if| block (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/bindings/templates/constants.cpp ('k') | Source/bindings/tests/idls/core/TestPartialInterface.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/bindings/tests/idls/core/TestObject.idl
diff --git a/Source/bindings/tests/idls/core/TestObject.idl b/Source/bindings/tests/idls/core/TestObject.idl
index cb2e339e3523bcbf3c97f1c2b7743b3c11a8b6cb..7535a74fbe82fc2920e65d9b3d8affb07d31b768 100644
--- a/Source/bindings/tests/idls/core/TestObject.idl
+++ b/Source/bindings/tests/idls/core/TestObject.idl
@@ -62,7 +62,11 @@ interface TestObject {
// Extended attributes
[DeprecateAs=Constant] const short DEPRECATED_CONSTANT = 1;
[MeasureAs=Constant] const short MEASURED_CONSTANT = 1;
- [RuntimeEnabled=FeatureName] const short FEATURE_ENABLED_CONST = 1;
+ [RuntimeEnabled=FeatureName1] const short FEATURE1_ENABLED_CONST1 = 1;
+ [RuntimeEnabled=FeatureName1] const short FEATURE1_ENABLED_CONST2 = 2;
+ [RuntimeEnabled=FeatureName2] const short FEATURE2_ENABLED_CONST1 = 3;
+ [RuntimeEnabled=FeatureName2] const short FEATURE2_ENABLED_CONST2 = 4;
+ [RuntimeEnabled=FeatureName3] const short FEATURE3_ENABLED_CONST1 = 5;
[Reflect=CONST_IMPL] const short CONST_JAVASCRIPT = 1;
stringifier attribute DOMString stringifierAttribute;
« no previous file with comments | « Source/bindings/templates/constants.cpp ('k') | Source/bindings/tests/idls/core/TestPartialInterface.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698