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 312 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
323 NamedNodeMapGetNamedItem = 306, | 323 NamedNodeMapGetNamedItem = 306, |
324 NamedNodeMapSetNamedItem = 307, | 324 NamedNodeMapSetNamedItem = 307, |
325 NamedNodeMapRemoveNamedItem = 308, | 325 NamedNodeMapRemoveNamedItem = 308, |
326 NamedNodeMapItem = 309, | 326 NamedNodeMapItem = 309, |
327 NamedNodeMapGetNamedItemNS = 310, | 327 NamedNodeMapGetNamedItemNS = 310, |
328 NamedNodeMapSetNamedItemNS = 311, | 328 NamedNodeMapSetNamedItemNS = 311, |
329 NamedNodeMapRemoveNamedItemNS = 312, | 329 NamedNodeMapRemoveNamedItemNS = 312, |
330 OpenWebDatabaseInWorker = 313, | 330 OpenWebDatabaseInWorker = 313, |
331 OpenWebDatabaseSyncInWorker = 314, | 331 OpenWebDatabaseSyncInWorker = 314, |
332 PrefixedAllowFullscreenAttribute = 315, | 332 PrefixedAllowFullscreenAttribute = 315, |
| 333 XHRProgressEventPosition = 316, |
| 334 XHRProgressEventTotalSize = 317, |
333 // Add new features immediately above this line. Don't change assigned | 335 // Add new features immediately above this line. Don't change assigned |
334 // numbers of any item, and don't reuse removed slots. | 336 // numbers of any item, and don't reuse removed slots. |
335 NumberOfFeatures, // This enum value must be last. | 337 NumberOfFeatures, // This enum value must be last. |
336 }; | 338 }; |
337 | 339 |
338 // "count" sets the bit for this feature to 1. Repeated calls are ignored. | 340 // "count" sets the bit for this feature to 1. Repeated calls are ignored. |
339 static void count(const Document&, Feature); | 341 static void count(const Document&, Feature); |
340 static void count(const ExecutionContext*, Feature); | 342 static void count(const ExecutionContext*, Feature); |
341 void count(CSSParserContext, CSSPropertyID); | 343 void count(CSSParserContext, CSSPropertyID); |
342 void count(Feature); | 344 void count(Feature); |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
385 | 387 |
386 void updateMeasurements(); | 388 void updateMeasurements(); |
387 | 389 |
388 OwnPtr<BitVector> m_countBits; | 390 OwnPtr<BitVector> m_countBits; |
389 BitVector m_CSSFeatureBits; | 391 BitVector m_CSSFeatureBits; |
390 }; | 392 }; |
391 | 393 |
392 } // namespace WebCore | 394 } // namespace WebCore |
393 | 395 |
394 #endif // UseCounter_h | 396 #endif // UseCounter_h |
OLD | NEW |