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