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