| 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 198 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 209 DOMNodeInsertedIntoDocumentEvent, | 209 DOMNodeInsertedIntoDocumentEvent, |
| 210 DOMCharacterDataModifiedEvent, | 210 DOMCharacterDataModifiedEvent, |
| 211 DocumentAllTags, | 211 DocumentAllTags, |
| 212 DocumentAllLegacyCall, | 212 DocumentAllLegacyCall, |
| 213 HTMLAppletElementLegacyCall, | 213 HTMLAppletElementLegacyCall, |
| 214 HTMLEmbedElementLegacyCall, | 214 HTMLEmbedElementLegacyCall, |
| 215 HTMLObjectElementLegacyCall, | 215 HTMLObjectElementLegacyCall, |
| 216 BeforeLoadEvent, | 216 BeforeLoadEvent, |
| 217 GetMatchedCSSRules, | 217 GetMatchedCSSRules, |
| 218 SVGFontInCSS, | 218 SVGFontInCSS, |
| 219 ScrollTopBody, |
| 220 ScrollLeftBody, |
| 219 // Add new features immediately above this line. Don't change assigned | 221 // Add new features immediately above this line. Don't change assigned |
| 220 // numbers of each items, and don't reuse unused slots. | 222 // numbers of each items, and don't reuse unused slots. |
| 221 NumberOfFeatures, // This enum value must be last. | 223 NumberOfFeatures, // This enum value must be last. |
| 222 }; | 224 }; |
| 223 | 225 |
| 224 // "count" sets the bit for this feature to 1. Repeated calls are ignored. | 226 // "count" sets the bit for this feature to 1. Repeated calls are ignored. |
| 225 static void count(Document*, Feature); | 227 static void count(Document*, Feature); |
| 226 static void count(DOMWindow*, Feature); | 228 static void count(DOMWindow*, Feature); |
| 227 void count(CSSParserContext, CSSPropertyID); | 229 void count(CSSParserContext, CSSPropertyID); |
| 228 void count(Feature); | 230 void count(Feature); |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 264 | 266 |
| 265 void updateMeasurements(); | 267 void updateMeasurements(); |
| 266 | 268 |
| 267 OwnPtr<BitVector> m_countBits; | 269 OwnPtr<BitVector> m_countBits; |
| 268 BitVector m_CSSFeatureBits; | 270 BitVector m_CSSFeatureBits; |
| 269 }; | 271 }; |
| 270 | 272 |
| 271 } // namespace WebCore | 273 } // namespace WebCore |
| 272 | 274 |
| 273 #endif // UseCounter_h | 275 #endif // UseCounter_h |
| OLD | NEW |