OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2012 Google, Inc. All rights reserved. | 2 * Copyright (C) 2012 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 | 5 * modification, are permitted provided that the following conditions |
6 * are met: | 6 * are met: |
7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
61 enum Feature { | 61 enum Feature { |
62 // Do not change assigned numbers of existing items: add new features | 62 // Do not change assigned numbers of existing items: add new features |
63 // to the end of the list. | 63 // to the end of the list. |
64 PageDestruction = 0, | 64 PageDestruction = 0, |
65 PrefixedIndexedDB = 3, | 65 PrefixedIndexedDB = 3, |
66 WorkerStart = 4, | 66 WorkerStart = 4, |
67 SharedWorkerStart = 5, | 67 SharedWorkerStart = 5, |
68 UnprefixedIndexedDB = 9, | 68 UnprefixedIndexedDB = 9, |
69 UnprefixedRequestAnimationFrame = 13, | 69 UnprefixedRequestAnimationFrame = 13, |
70 PrefixedRequestAnimationFrame = 14, | 70 PrefixedRequestAnimationFrame = 14, |
71 PrefixedTransitionEndEvent = 18, | |
72 UnprefixedTransitionEndEvent = 19, | |
73 PrefixedAndUnprefixedTransitionEndEvent = 20, | |
74 | 71 |
75 DataListElement = 23, | 72 DataListElement = 23, |
76 FormAttribute = 24, | 73 FormAttribute = 24, |
77 IncrementalAttribute = 25, | 74 IncrementalAttribute = 25, |
78 InputTypeColor = 26, | 75 InputTypeColor = 26, |
79 InputTypeDate = 27, | 76 InputTypeDate = 27, |
80 InputTypeDateTimeFallback = 29, | 77 InputTypeDateTimeFallback = 29, |
81 InputTypeDateTimeLocal = 30, | 78 InputTypeDateTimeLocal = 30, |
82 InputTypeEmail = 31, | 79 InputTypeEmail = 31, |
83 InputTypeMonth = 32, | 80 InputTypeMonth = 32, |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
130 DocumentInputEncoding = 114, // Removed from DOM4. | 127 DocumentInputEncoding = 114, // Removed from DOM4. |
131 DocumentXMLEncoding = 115, // Removed from DOM4. | 128 DocumentXMLEncoding = 115, // Removed from DOM4. |
132 DocumentXMLStandalone = 116, // Removed from DOM4. | 129 DocumentXMLStandalone = 116, // Removed from DOM4. |
133 NodeNamespaceURI = 120, // Removed from DOM4. | 130 NodeNamespaceURI = 120, // Removed from DOM4. |
134 NodeLocalName = 122, // Removed from DOM4. | 131 NodeLocalName = 122, // Removed from DOM4. |
135 NavigatorProductSub = 123, | 132 NavigatorProductSub = 123, |
136 NavigatorVendor = 124, | 133 NavigatorVendor = 124, |
137 NavigatorVendorSub = 125, | 134 NavigatorVendorSub = 125, |
138 FileError = 126, | 135 FileError = 126, |
139 DocumentCharset = 127, // Documented as IE extensions = 0, from KHTML da
ys. | 136 DocumentCharset = 127, // Documented as IE extensions = 0, from KHTML da
ys. |
140 PrefixedAnimationEndEvent = 128, | |
141 UnprefixedAnimationEndEvent = 129, | |
142 PrefixedAndUnprefixedAnimationEndEvent = 130, | |
143 PrefixedAnimationStartEvent = 131, | |
144 UnprefixedAnimationStartEvent = 132, | |
145 PrefixedAndUnprefixedAnimationStartEvent = 133, | |
146 PrefixedAnimationIterationEvent = 134, | |
147 UnprefixedAnimationIterationEvent = 135, | |
148 PrefixedAndUnprefixedAnimationIterationEvent = 136, | |
149 EventReturnValue = 137, // Legacy IE extension. | 137 EventReturnValue = 137, // Legacy IE extension. |
150 HasAttributes = 142, // Removed from DOM4. | 138 HasAttributes = 142, // Removed from DOM4. |
151 DOMSubtreeModifiedEvent = 143, | 139 DOMSubtreeModifiedEvent = 143, |
152 DOMNodeInsertedEvent = 144, | 140 DOMNodeInsertedEvent = 144, |
153 DOMNodeRemovedEvent = 145, | 141 DOMNodeRemovedEvent = 145, |
154 DOMNodeRemovedFromDocumentEvent = 146, | 142 DOMNodeRemovedFromDocumentEvent = 146, |
155 DOMNodeInsertedIntoDocumentEvent = 147, | 143 DOMNodeInsertedIntoDocumentEvent = 147, |
156 DOMCharacterDataModifiedEvent = 148, | 144 DOMCharacterDataModifiedEvent = 148, |
157 DocumentAllLegacyCall = 150, | 145 DocumentAllLegacyCall = 150, |
158 SVGFontInCSS = 156, | 146 SVGFontInCSS = 156, |
(...skipping 304 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
463 | 451 |
464 void updateMeasurements(); | 452 void updateMeasurements(); |
465 | 453 |
466 OwnPtr<BitVector> m_countBits; | 454 OwnPtr<BitVector> m_countBits; |
467 BitVector m_CSSFeatureBits; | 455 BitVector m_CSSFeatureBits; |
468 }; | 456 }; |
469 | 457 |
470 } // namespace blink | 458 } // namespace blink |
471 | 459 |
472 #endif // SKY_ENGINE_CORE_FRAME_USECOUNTER_H_ | 460 #endif // SKY_ENGINE_CORE_FRAME_USECOUNTER_H_ |
OLD | NEW |