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 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
143 PrefixedDocumentRegister, | 143 PrefixedDocumentRegister, |
144 HTMLShadowElementOlderShadowRoot, | 144 HTMLShadowElementOlderShadowRoot, |
145 DocumentAll, | 145 DocumentAll, |
146 FormElement, | 146 FormElement, |
147 DemotedFormElement, | 147 DemotedFormElement, |
148 CaptureAttributeAsEnum, | 148 CaptureAttributeAsEnum, |
149 ShadowDOMPrefixedPseudo, | 149 ShadowDOMPrefixedPseudo, |
150 ShadowDOMPrefixedCreateShadowRoot, | 150 ShadowDOMPrefixedCreateShadowRoot, |
151 ShadowDOMPrefixedShadowRoot, | 151 ShadowDOMPrefixedShadowRoot, |
152 SVGAnimationElement, | 152 SVGAnimationElement, |
| 153 KeyboardEventKeyLocation, |
153 // Add new features immediately above this line. Don't change assigned | 154 // Add new features immediately above this line. Don't change assigned |
154 // numbers of each items, and don't reuse unused slots. | 155 // numbers of each items, and don't reuse unused slots. |
155 NumberOfFeatures, // This enum value must be last. | 156 NumberOfFeatures, // This enum value must be last. |
156 }; | 157 }; |
157 | 158 |
158 // "count" sets the bit for this feature to 1. Repeated calls are ignored. | 159 // "count" sets the bit for this feature to 1. Repeated calls are ignored. |
159 static void count(Document*, Feature); | 160 static void count(Document*, Feature); |
160 static void count(DOMWindow*, Feature); | 161 static void count(DOMWindow*, Feature); |
161 void count(CSSPropertyID); | 162 void count(CSSPropertyID); |
162 | 163 |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
197 | 198 |
198 void updateMeasurements(); | 199 void updateMeasurements(); |
199 | 200 |
200 OwnPtr<BitVector> m_countBits; | 201 OwnPtr<BitVector> m_countBits; |
201 BitVector m_CSSFeatureBits; | 202 BitVector m_CSSFeatureBits; |
202 }; | 203 }; |
203 | 204 |
204 } // namespace WebCore | 205 } // namespace WebCore |
205 | 206 |
206 #endif // UseCounter_h | 207 #endif // UseCounter_h |
OLD | NEW |