Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(224)

Side by Side Diff: Source/core/frame/UseCounter.h

Issue 1152993002: Add a counter for CSSKeyframesRule's anonymous indexed getter (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « Source/core/css/CSSKeyframesRule.idl ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 677 matching lines...) Expand 10 before | Expand all | Expand 10 after
688 V8SVGSVGElement_PixelUnitToMillimeterY_AttributeGetter = 775, 688 V8SVGSVGElement_PixelUnitToMillimeterY_AttributeGetter = 775,
689 V8SVGSVGElement_ScreenPixelToMillimeterX_AttributeGetter = 776, 689 V8SVGSVGElement_ScreenPixelToMillimeterX_AttributeGetter = 776,
690 V8SVGSVGElement_ScreenPixelToMillimeterY_AttributeGetter = 777, 690 V8SVGSVGElement_ScreenPixelToMillimeterY_AttributeGetter = 777,
691 V8SVGSVGElement_GetElementById_Method = 778, 691 V8SVGSVGElement_GetElementById_Method = 778,
692 ElementCreateShadowRootMultiple = 779, 692 ElementCreateShadowRootMultiple = 779,
693 V8MessageChannel_Constructor = 780, 693 V8MessageChannel_Constructor = 780,
694 V8MessagePort_PostMessage_Method = 781, 694 V8MessagePort_PostMessage_Method = 781,
695 V8MessagePort_Start_Method = 782, 695 V8MessagePort_Start_Method = 782,
696 V8MessagePort_Close_Method = 783, 696 V8MessagePort_Close_Method = 783,
697 MessagePortsTransferred = 784, 697 MessagePortsTransferred = 784,
698 CSSKeyframesRuleAnonymousIndexedGetter = 785,
698 699
699 // Add new features immediately above this line. Don't change assigned 700 // Add new features immediately above this line. Don't change assigned
700 // numbers of any item, and don't reuse removed slots. 701 // numbers of any item, and don't reuse removed slots.
701 // Also, run update_use_counter_feature_enum.py in chromium/src/tools/me trics/histograms/ 702 // Also, run update_use_counter_feature_enum.py in chromium/src/tools/me trics/histograms/
702 // to update the UMA mapping. 703 // to update the UMA mapping.
703 NumberOfFeatures, // This enum value must be last. 704 NumberOfFeatures, // This enum value must be last.
704 }; 705 };
705 706
706 // "count" sets the bit for this feature to 1. Repeated calls are ignored. 707 // "count" sets the bit for this feature to 1. Repeated calls are ignored.
707 static void count(const Frame*, Feature); 708 static void count(const Frame*, Feature);
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
791 792
792 bool hasRecordedMeasurement(Feature feature) const { return m_countBits.hasR ecordedMeasurement(feature); } 793 bool hasRecordedMeasurement(Feature feature) const { return m_countBits.hasR ecordedMeasurement(feature); }
793 794
794 CountBits m_countBits; 795 CountBits m_countBits;
795 BitVector m_CSSFeatureBits; 796 BitVector m_CSSFeatureBits;
796 }; 797 };
797 798
798 } // namespace blink 799 } // namespace blink
799 800
800 #endif // UseCounter_h 801 #endif // UseCounter_h
OLDNEW
« no previous file with comments | « Source/core/css/CSSKeyframesRule.idl ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698