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 518 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
529 ScreenOrientationAngle = 557, | 529 ScreenOrientationAngle = 557, |
530 ScreenOrientationType = 558, | 530 ScreenOrientationType = 558, |
531 ScreenOrientationLock = 559, | 531 ScreenOrientationLock = 559, |
532 ScreenOrientationUnlock = 560, | 532 ScreenOrientationUnlock = 560, |
533 GeolocationSecureOrigin = 561, | 533 GeolocationSecureOrigin = 561, |
534 GeolocationInsecureOrigin = 562, | 534 GeolocationInsecureOrigin = 562, |
535 NotificationSecureOrigin = 563, | 535 NotificationSecureOrigin = 563, |
536 NotificationInsecureOrigin = 564, | 536 NotificationInsecureOrigin = 564, |
537 NotificationShowEvent = 565, | 537 NotificationShowEvent = 565, |
538 CSSXGetComputedStyleQueries = 566, | 538 CSSXGetComputedStyleQueries = 566, |
| 539 SVG1DOM = 567, |
| 540 SVGPathSegDOM = 568, |
| 541 SVGTransformListConsolidate = 569, |
| 542 SVGAnimatedTransformListBaseVal = 570, |
| 543 |
539 // Add new features immediately above this line. Don't change assigned | 544 // Add new features immediately above this line. Don't change assigned |
540 // numbers of any item, and don't reuse removed slots. | 545 // numbers of any item, and don't reuse removed slots. |
541 // Also, run update_use_counter_feature_enum.py in chromium/src/tools/me
trics/histograms/ | 546 // Also, run update_use_counter_feature_enum.py in chromium/src/tools/me
trics/histograms/ |
542 // to update the UMA mapping. | 547 // to update the UMA mapping. |
543 NumberOfFeatures, // This enum value must be last. | 548 NumberOfFeatures, // This enum value must be last. |
544 }; | 549 }; |
545 | 550 |
546 // "count" sets the bit for this feature to 1. Repeated calls are ignored. | 551 // "count" sets the bit for this feature to 1. Repeated calls are ignored. |
547 static void count(const Document&, Feature); | 552 static void count(const Document&, Feature); |
548 // This doesn't count for ExecutionContexts for shared workers and service | 553 // This doesn't count for ExecutionContexts for shared workers and service |
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
609 | 614 |
610 void updateMeasurements(); | 615 void updateMeasurements(); |
611 | 616 |
612 OwnPtr<BitVector> m_countBits; | 617 OwnPtr<BitVector> m_countBits; |
613 BitVector m_CSSFeatureBits; | 618 BitVector m_CSSFeatureBits; |
614 }; | 619 }; |
615 | 620 |
616 } // namespace blink | 621 } // namespace blink |
617 | 622 |
618 #endif // UseCounter_h | 623 #endif // UseCounter_h |
OLD | NEW |