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 402 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
413 SVGFEMorphologyElementSetRadius = 408, | 413 SVGFEMorphologyElementSetRadius = 408, |
414 VTTCue = 409, | 414 VTTCue = 409, |
415 VTTCueRender = 410, | 415 VTTCueRender = 410, |
416 VTTCueRenderVertical = 411, | 416 VTTCueRenderVertical = 411, |
417 VTTCueRenderSnapToLinesFalse = 412, | 417 VTTCueRenderSnapToLinesFalse = 412, |
418 VTTCueRenderLineNotAuto = 413, | 418 VTTCueRenderLineNotAuto = 413, |
419 VTTCueRenderPositionNot50 = 414, | 419 VTTCueRenderPositionNot50 = 414, |
420 VTTCueRenderSizeNot100 = 415, | 420 VTTCueRenderSizeNot100 = 415, |
421 VTTCueRenderAlignNotMiddle = 416, | 421 VTTCueRenderAlignNotMiddle = 416, |
422 ElementRequestPointerLock = 417, | 422 ElementRequestPointerLock = 417, |
| 423 VTTCueRenderRtl = 418, |
423 // Add new features immediately above this line. Don't change assigned | 424 // Add new features immediately above this line. Don't change assigned |
424 // numbers of any item, and don't reuse removed slots. | 425 // numbers of any item, and don't reuse removed slots. |
425 // Also, run update_use_counter_feature_enum.py in chromium/src/tools/me
trics/histograms/ | 426 // Also, run update_use_counter_feature_enum.py in chromium/src/tools/me
trics/histograms/ |
426 // to update the UMA mapping. | 427 // to update the UMA mapping. |
427 NumberOfFeatures, // This enum value must be last. | 428 NumberOfFeatures, // This enum value must be last. |
428 }; | 429 }; |
429 | 430 |
430 // "count" sets the bit for this feature to 1. Repeated calls are ignored. | 431 // "count" sets the bit for this feature to 1. Repeated calls are ignored. |
431 static void count(const Document&, Feature); | 432 static void count(const Document&, Feature); |
432 static void count(const ExecutionContext*, Feature); | 433 static void count(const ExecutionContext*, Feature); |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
477 | 478 |
478 void updateMeasurements(); | 479 void updateMeasurements(); |
479 | 480 |
480 OwnPtr<BitVector> m_countBits; | 481 OwnPtr<BitVector> m_countBits; |
481 BitVector m_CSSFeatureBits; | 482 BitVector m_CSSFeatureBits; |
482 }; | 483 }; |
483 | 484 |
484 } // namespace WebCore | 485 } // namespace WebCore |
485 | 486 |
486 #endif // UseCounter_h | 487 #endif // UseCounter_h |
OLD | NEW |