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 618 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
629 // The above items are available in M42 branch. | 629 // The above items are available in M42 branch. |
630 | 630 |
631 ClientRectListItem = 694, | 631 ClientRectListItem = 694, |
632 WindowClientInformation = 695, | 632 WindowClientInformation = 695, |
633 WindowFind = 696, | 633 WindowFind = 696, |
634 WindowScreenLeft = 697, | 634 WindowScreenLeft = 697, |
635 WindowScreenTop = 698, | 635 WindowScreenTop = 698, |
636 V8AnimationPlayer_Cancel_Method = 699, | 636 V8AnimationPlayer_Cancel_Method = 699, |
637 V8AnimationPlayer_Onfinish_AttributeGetter = 700, | 637 V8AnimationPlayer_Onfinish_AttributeGetter = 700, |
638 V8AnimationPlayer_Onfinish_AttributeSetter = 701, | 638 V8AnimationPlayer_Onfinish_AttributeSetter = 701, |
| 639 ElementOffsetParent = 702, |
| 640 ElementOffsetTop = 703, |
| 641 ElementOffsetLeft = 704, |
| 642 ElementOffsetWidth = 705, |
| 643 ElementOffsetHeight = 706, |
639 | 644 |
640 // Add new features immediately above this line. Don't change assigned | 645 // Add new features immediately above this line. Don't change assigned |
641 // numbers of any item, and don't reuse removed slots. | 646 // numbers of any item, and don't reuse removed slots. |
642 // Also, run update_use_counter_feature_enum.py in chromium/src/tools/me
trics/histograms/ | 647 // Also, run update_use_counter_feature_enum.py in chromium/src/tools/me
trics/histograms/ |
643 // to update the UMA mapping. | 648 // to update the UMA mapping. |
644 NumberOfFeatures, // This enum value must be last. | 649 NumberOfFeatures, // This enum value must be last. |
645 }; | 650 }; |
646 | 651 |
647 // "count" sets the bit for this feature to 1. Repeated calls are ignored. | 652 // "count" sets the bit for this feature to 1. Repeated calls are ignored. |
648 static void count(const Frame*, Feature); | 653 static void count(const Frame*, Feature); |
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
720 bool recordMeasurement(Feature feature) { return m_countBits.recordMeasureme
nt(feature); } | 725 bool recordMeasurement(Feature feature) { return m_countBits.recordMeasureme
nt(feature); } |
721 void updateMeasurements(); | 726 void updateMeasurements(); |
722 | 727 |
723 CountBits m_countBits; | 728 CountBits m_countBits; |
724 BitVector m_CSSFeatureBits; | 729 BitVector m_CSSFeatureBits; |
725 }; | 730 }; |
726 | 731 |
727 } // namespace blink | 732 } // namespace blink |
728 | 733 |
729 #endif // UseCounter_h | 734 #endif // UseCounter_h |
OLD | NEW |