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 524 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
535 NotificationInsecureOrigin = 564, | 535 NotificationInsecureOrigin = 564, |
536 NotificationShowEvent = 565, | 536 NotificationShowEvent = 565, |
537 CSSXGetComputedStyleQueries = 566, | 537 CSSXGetComputedStyleQueries = 566, |
538 SVG1DOM = 567, | 538 SVG1DOM = 567, |
539 SVGPathSegDOM = 568, | 539 SVGPathSegDOM = 568, |
540 SVGTransformListConsolidate = 569, | 540 SVGTransformListConsolidate = 569, |
541 SVGAnimatedTransformListBaseVal = 570, | 541 SVGAnimatedTransformListBaseVal = 570, |
542 QuotedAnimationName = 571, | 542 QuotedAnimationName = 571, |
543 QuotedKeyframesRule = 572, | 543 QuotedKeyframesRule = 572, |
544 SrcsetDroppedCandidate = 573, | 544 SrcsetDroppedCandidate = 573, |
545 RenderRuby = 574, | |
546 | |
547 WindowPostMessage = 574, | 545 WindowPostMessage = 574, |
548 WindowPostMessageWithLegacyTargetOriginArgument = 575, | 546 WindowPostMessageWithLegacyTargetOriginArgument = 575, |
549 CanvasRenderingContext2DCompositeOperationDarker = 576, | 547 RenderRuby = 576, |
| 548 CanvasRenderingContext2DCompositeOperationDarker = 577, |
550 | 549 |
551 // Add new features immediately above this line. Don't change assigned | 550 // Add new features immediately above this line. Don't change assigned |
552 // numbers of any item, and don't reuse removed slots. | 551 // numbers of any item, and don't reuse removed slots. |
553 // Also, run update_use_counter_feature_enum.py in chromium/src/tools/me
trics/histograms/ | 552 // Also, run update_use_counter_feature_enum.py in chromium/src/tools/me
trics/histograms/ |
554 // to update the UMA mapping. | 553 // to update the UMA mapping. |
555 NumberOfFeatures, // This enum value must be last. | 554 NumberOfFeatures, // This enum value must be last. |
556 }; | 555 }; |
557 | 556 |
558 // "count" sets the bit for this feature to 1. Repeated calls are ignored. | 557 // "count" sets the bit for this feature to 1. Repeated calls are ignored. |
559 static void count(const Document&, Feature); | 558 static void count(const Document&, Feature); |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
621 | 620 |
622 void updateMeasurements(); | 621 void updateMeasurements(); |
623 | 622 |
624 OwnPtr<BitVector> m_countBits; | 623 OwnPtr<BitVector> m_countBits; |
625 BitVector m_CSSFeatureBits; | 624 BitVector m_CSSFeatureBits; |
626 }; | 625 }; |
627 | 626 |
628 } // namespace blink | 627 } // namespace blink |
629 | 628 |
630 #endif // UseCounter_h | 629 #endif // UseCounter_h |
OLD | NEW |