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 141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
152 SVGAnimationElement, | 152 SVGAnimationElement, |
153 KeyboardEventKeyLocation, | 153 KeyboardEventKeyLocation, |
154 CaptureEvents, | 154 CaptureEvents, |
155 ReleaseEvents, | 155 ReleaseEvents, |
156 CSSDisplayRunIn, | 156 CSSDisplayRunIn, |
157 CSSDisplayCompact, | 157 CSSDisplayCompact, |
158 LineClamp, | 158 LineClamp, |
159 SubFrameBeforeUnloadRegistered, | 159 SubFrameBeforeUnloadRegistered, |
160 SubFrameBeforeUnloadFired, | 160 SubFrameBeforeUnloadFired, |
161 CSSPseudoElementPrefixedDistributed, | 161 CSSPseudoElementPrefixedDistributed, |
| 162 TextReplaceWholeText, |
162 // Add new features immediately above this line. Don't change assigned | 163 // Add new features immediately above this line. Don't change assigned |
163 // numbers of each items, and don't reuse unused slots. | 164 // numbers of each items, and don't reuse unused slots. |
164 NumberOfFeatures, // This enum value must be last. | 165 NumberOfFeatures, // This enum value must be last. |
165 }; | 166 }; |
166 | 167 |
167 // "count" sets the bit for this feature to 1. Repeated calls are ignored. | 168 // "count" sets the bit for this feature to 1. Repeated calls are ignored. |
168 static void count(Document*, Feature); | 169 static void count(Document*, Feature); |
169 static void count(DOMWindow*, Feature); | 170 static void count(DOMWindow*, Feature); |
170 void count(CSSPropertyID); | 171 void count(CSSPropertyID); |
171 void count(Feature); | 172 void count(Feature); |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
207 | 208 |
208 void updateMeasurements(); | 209 void updateMeasurements(); |
209 | 210 |
210 OwnPtr<BitVector> m_countBits; | 211 OwnPtr<BitVector> m_countBits; |
211 BitVector m_CSSFeatureBits; | 212 BitVector m_CSSFeatureBits; |
212 }; | 213 }; |
213 | 214 |
214 } // namespace WebCore | 215 } // namespace WebCore |
215 | 216 |
216 #endif // UseCounter_h | 217 #endif // UseCounter_h |
OLD | NEW |