| 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 532 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 543 TextWholeText = 599, | 543 TextWholeText = 599, |
| 544 AttrChildAccess = 600, | 544 AttrChildAccess = 600, |
| 545 AttrChildChange = 601, | 545 AttrChildChange = 601, |
| 546 DocumentGetOverrideStyle = 602, | 546 DocumentGetOverrideStyle = 602, |
| 547 NotificationCloseEvent = 603, | 547 NotificationCloseEvent = 603, |
| 548 CSSKeyframesRuleAppendRule = 604, | 548 CSSKeyframesRuleAppendRule = 604, |
| 549 CSSKeyframesRuleInsertRule = 605, | 549 CSSKeyframesRuleInsertRule = 605, |
| 550 StyleMedia = 606, | 550 StyleMedia = 606, |
| 551 StyleMediaType = 607, | 551 StyleMediaType = 607, |
| 552 StyleMediaMatchMedium = 608, | 552 StyleMediaMatchMedium = 608, |
| 553 MixedContentPresent = 609, |
| 554 MixedContentBlockable = 610, |
| 555 MixedContentAudio = 611, |
| 556 MixedContentDownload = 612, |
| 557 MixedContentFavicon = 613, |
| 558 MixedContentImage = 614, |
| 559 MixedContentInternal = 615, |
| 560 MixedContentPlugin = 616, |
| 561 MixedContentPrefetch = 617, |
| 562 MixedContentVideo = 618, |
| 553 | 563 |
| 554 // Add new features immediately above this line. Don't change assigned | 564 // Add new features immediately above this line. Don't change assigned |
| 555 // numbers of any item, and don't reuse removed slots. | 565 // numbers of any item, and don't reuse removed slots. |
| 556 // Also, run update_use_counter_feature_enum.py in chromium/src/tools/me
trics/histograms/ | 566 // Also, run update_use_counter_feature_enum.py in chromium/src/tools/me
trics/histograms/ |
| 557 // to update the UMA mapping. | 567 // to update the UMA mapping. |
| 558 NumberOfFeatures, // This enum value must be last. | 568 NumberOfFeatures, // This enum value must be last. |
| 559 }; | 569 }; |
| 560 | 570 |
| 561 // "count" sets the bit for this feature to 1. Repeated calls are ignored. | 571 // "count" sets the bit for this feature to 1. Repeated calls are ignored. |
| 562 static void count(const Frame*, Feature); | 572 static void count(const Frame*, Feature); |
| (...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 626 | 636 |
| 627 void updateMeasurements(); | 637 void updateMeasurements(); |
| 628 | 638 |
| 629 OwnPtr<BitVector> m_countBits; | 639 OwnPtr<BitVector> m_countBits; |
| 630 BitVector m_CSSFeatureBits; | 640 BitVector m_CSSFeatureBits; |
| 631 }; | 641 }; |
| 632 | 642 |
| 633 } // namespace blink | 643 } // namespace blink |
| 634 | 644 |
| 635 #endif // UseCounter_h | 645 #endif // UseCounter_h |
| OLD | NEW |