OLD | NEW |
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 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
55 const double CONST_VALUE_19 = 4e9; | 55 const double CONST_VALUE_19 = 4e9; |
56 const double CONST_VALUE_20 = 3.4e5; | 56 const double CONST_VALUE_20 = 3.4e5; |
57 const double CONST_VALUE_21 = -1.3; | 57 const double CONST_VALUE_21 = -1.3; |
58 const double CONST_VALUE_22 = -4e-9; | 58 const double CONST_VALUE_22 = -4e-9; |
59 const double CONST_VALUE_23 = .123; | 59 const double CONST_VALUE_23 = .123; |
60 const double CONST_VALUE_24 = 5E+4; | 60 const double CONST_VALUE_24 = 5E+4; |
61 const float CONST_VALUE_25 = 1; | 61 const float CONST_VALUE_25 = 1; |
62 | 62 |
63 // Extended attributes | 63 // Extended attributes |
64 [DeprecateAs=Constant] const short DEPRECATED_CONSTANT = 1; | 64 [DeprecateAs=Constant] const short DEPRECATED_CONSTANT = 1; |
| 65 [MeasureAs=Constant] const short MEASURED_CONSTANT = 1; |
65 [RuntimeEnabled=FeatureName] const short FEATURE_ENABLED_CONST = 1; | 66 [RuntimeEnabled=FeatureName] const short FEATURE_ENABLED_CONST = 1; |
66 [Reflect=CONST_IMPL] const short CONST_JAVASCRIPT = 1; | 67 [Reflect=CONST_IMPL] const short CONST_JAVASCRIPT = 1; |
67 | 68 |
68 stringifier attribute DOMString stringifierAttribute; | 69 stringifier attribute DOMString stringifierAttribute; |
69 | 70 |
70 // Attributes | 71 // Attributes |
71 // | 72 // |
72 // Naming convention: | 73 // Naming convention: |
73 // [ExtAttr] attribute Type extAttrTypeNameAttribute; | 74 // [ExtAttr] attribute Type extAttrTypeNameAttribute; |
74 // E.g., | 75 // E.g., |
(...skipping 471 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
546 [ImplementedInPrivateScript] readonly attribute short readonlyShortAttribute
; | 547 [ImplementedInPrivateScript] readonly attribute short readonlyShortAttribute
; |
547 [ImplementedInPrivateScript] attribute short shortAttribute; | 548 [ImplementedInPrivateScript] attribute short shortAttribute; |
548 [ImplementedInPrivateScript] attribute DOMString stringAttribute; | 549 [ImplementedInPrivateScript] attribute DOMString stringAttribute; |
549 [ImplementedInPrivateScript] attribute Node nodeAttribute; | 550 [ImplementedInPrivateScript] attribute Node nodeAttribute; |
550 [OnlyExposedToPrivateScript] short methodImplementedInCPPForPrivateScriptOnl
y(short value1, short value2); | 551 [OnlyExposedToPrivateScript] short methodImplementedInCPPForPrivateScriptOnl
y(short value1, short value2); |
551 [OnlyExposedToPrivateScript] attribute DOMString attributeImplementedInCPPFo
rPrivateScriptOnly; | 552 [OnlyExposedToPrivateScript] attribute DOMString attributeImplementedInCPPFo
rPrivateScriptOnly; |
552 [ImplementedInPrivateScript, OnlyExposedToPrivateScript] short methodForPriv
ateScriptOnly(short value1, short value2); | 553 [ImplementedInPrivateScript, OnlyExposedToPrivateScript] short methodForPriv
ateScriptOnly(short value1, short value2); |
553 [ImplementedInPrivateScript, OnlyExposedToPrivateScript] attribute DOMString
attributeForPrivateScriptOnly; | 554 [ImplementedInPrivateScript, OnlyExposedToPrivateScript] attribute DOMString
attributeForPrivateScriptOnly; |
554 [ImplementedInPrivateScript] attribute TestEnum enumForPrivateScript; | 555 [ImplementedInPrivateScript] attribute TestEnum enumForPrivateScript; |
555 }; | 556 }; |
OLD | NEW |