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 541 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
552 CSSSelectorPseudoScrollbarTrack = 585, | 552 CSSSelectorPseudoScrollbarTrack = 585, |
553 CSSSelectorPseudoScrollbarTrackPiece = 586, | 553 CSSSelectorPseudoScrollbarTrackPiece = 586, |
554 LangAttribute = 587, | 554 LangAttribute = 587, |
555 LangAttributeOnHTML = 588, | 555 LangAttributeOnHTML = 588, |
556 LangAttributeOnBody = 589, | 556 LangAttributeOnBody = 589, |
557 LangAttributeDoesNotMatchToUILocale = 590, | 557 LangAttributeDoesNotMatchToUILocale = 590, |
558 InputTypeSubmit = 591, | 558 InputTypeSubmit = 591, |
559 InputTypeSubmitWithValue = 592, | 559 InputTypeSubmitWithValue = 592, |
560 SetReferrerPolicy = 593, | 560 SetReferrerPolicy = 593, |
561 DOMImplementationHasFeatureReturnFalseInternal = 594, | 561 DOMImplementationHasFeatureReturnFalseInternal = 594, |
| 562 MouseEventWhich = 595, |
| 563 UIEventCharCode = 596, |
| 564 UIEventKeyCode = 597, |
| 565 UIEventWhich = 598, |
562 | 566 |
563 // Add new features immediately above this line. Don't change assigned | 567 // Add new features immediately above this line. Don't change assigned |
564 // numbers of any item, and don't reuse removed slots. | 568 // numbers of any item, and don't reuse removed slots. |
565 // Also, run update_use_counter_feature_enum.py in chromium/src/tools/me
trics/histograms/ | 569 // Also, run update_use_counter_feature_enum.py in chromium/src/tools/me
trics/histograms/ |
566 // to update the UMA mapping. | 570 // to update the UMA mapping. |
567 NumberOfFeatures, // This enum value must be last. | 571 NumberOfFeatures, // This enum value must be last. |
568 }; | 572 }; |
569 | 573 |
570 // "count" sets the bit for this feature to 1. Repeated calls are ignored. | 574 // "count" sets the bit for this feature to 1. Repeated calls are ignored. |
571 static void count(const Frame*, Feature); | 575 static void count(const Frame*, Feature); |
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
635 | 639 |
636 void updateMeasurements(); | 640 void updateMeasurements(); |
637 | 641 |
638 OwnPtr<BitVector> m_countBits; | 642 OwnPtr<BitVector> m_countBits; |
639 BitVector m_CSSFeatureBits; | 643 BitVector m_CSSFeatureBits; |
640 }; | 644 }; |
641 | 645 |
642 } // namespace blink | 646 } // namespace blink |
643 | 647 |
644 #endif // UseCounter_h | 648 #endif // UseCounter_h |
OLD | NEW |