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 398 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
409 HTMLPreElementWrap = 399, | 409 HTMLPreElementWrap = 399, |
410 SelectionBaseNode = 400, | 410 SelectionBaseNode = 400, |
411 SelectionBaseOffset = 401, | 411 SelectionBaseOffset = 401, |
412 SelectionExtentNode = 402, | 412 SelectionExtentNode = 402, |
413 SelectionExtentOffset = 403, | 413 SelectionExtentOffset = 403, |
414 SelectionType = 404, | 414 SelectionType = 404, |
415 SelectionModify = 405, | 415 SelectionModify = 405, |
416 SelectionSetBaseAndExtent = 406, | 416 SelectionSetBaseAndExtent = 406, |
417 SelectionEmpty = 407, | 417 SelectionEmpty = 407, |
418 SVGFEMorphologyElementSetRadius = 408, | 418 SVGFEMorphologyElementSetRadius = 408, |
| 419 VTTCue = 409, |
| 420 VTTCueRender = 410, |
| 421 VTTCueRenderVertical = 411, |
| 422 VTTCueRenderSnapToLinesFalse = 412, |
| 423 VTTCueRenderLineNotAuto = 413, |
| 424 VTTCueRenderPositionNot50 = 414, |
| 425 VTTCueRenderSizeNot100 = 415, |
| 426 VTTCueRenderAlignNotMiddle = 416, |
419 // Add new features immediately above this line. Don't change assigned | 427 // Add new features immediately above this line. Don't change assigned |
420 // numbers of any item, and don't reuse removed slots. | 428 // numbers of any item, and don't reuse removed slots. |
421 NumberOfFeatures, // This enum value must be last. | 429 NumberOfFeatures, // This enum value must be last. |
422 }; | 430 }; |
423 | 431 |
424 // "count" sets the bit for this feature to 1. Repeated calls are ignored. | 432 // "count" sets the bit for this feature to 1. Repeated calls are ignored. |
425 static void count(const Document&, Feature); | 433 static void count(const Document&, Feature); |
426 static void count(const ExecutionContext*, Feature); | 434 static void count(const ExecutionContext*, Feature); |
427 void count(CSSParserContext, CSSPropertyID); | 435 void count(CSSParserContext, CSSPropertyID); |
428 void count(Feature); | 436 void count(Feature); |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
471 | 479 |
472 void updateMeasurements(); | 480 void updateMeasurements(); |
473 | 481 |
474 OwnPtr<BitVector> m_countBits; | 482 OwnPtr<BitVector> m_countBits; |
475 BitVector m_CSSFeatureBits; | 483 BitVector m_CSSFeatureBits; |
476 }; | 484 }; |
477 | 485 |
478 } // namespace WebCore | 486 } // namespace WebCore |
479 | 487 |
480 #endif // UseCounter_h | 488 #endif // UseCounter_h |
OLD | NEW |