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

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

Issue 1415873002: Measure usage of the HTMLFieldSetElement.elements element (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/html/HTMLFieldSetElement.idl » ('j') | 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 838 matching lines...) Expand 10 before | Expand all | Expand 10 after
849 CSSAtRuleCharset = 969, 849 CSSAtRuleCharset = 969,
850 CSSAtRuleFontFace = 970, 850 CSSAtRuleFontFace = 970,
851 CSSAtRuleImport = 971, 851 CSSAtRuleImport = 971,
852 CSSAtRuleKeyframes = 972, 852 CSSAtRuleKeyframes = 972,
853 CSSAtRuleMedia = 973, 853 CSSAtRuleMedia = 973,
854 CSSAtRuleNamespace = 974, 854 CSSAtRuleNamespace = 974,
855 CSSAtRulePage = 975, 855 CSSAtRulePage = 975,
856 CSSAtRuleSupports = 976, 856 CSSAtRuleSupports = 976,
857 CSSAtRuleViewport = 977, 857 CSSAtRuleViewport = 977,
858 CSSAtRuleWebkitKeyframes = 978, 858 CSSAtRuleWebkitKeyframes = 978,
859 V8HTMLFieldSetElement_Elements_AttributeGetter = 979,
859 860
860 // Add new features immediately above this line. Don't change assigned 861 // Add new features immediately above this line. Don't change assigned
861 // numbers of any item, and don't reuse removed slots. 862 // numbers of any item, and don't reuse removed slots.
862 // Also, run update_use_counter_feature_enum.py in chromium/src/tools/me trics/histograms/ 863 // Also, run update_use_counter_feature_enum.py in chromium/src/tools/me trics/histograms/
863 // to update the UMA mapping. 864 // to update the UMA mapping.
864 NumberOfFeatures, // This enum value must be last. 865 NumberOfFeatures, // This enum value must be last.
865 }; 866 };
866 867
867 // "count" sets the bit for this feature to 1. Repeated calls are ignored. 868 // "count" sets the bit for this feature to 1. Repeated calls are ignored.
868 static void count(const Frame*, Feature); 869 static void count(const Frame*, Feature);
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
953 954
954 bool hasRecordedMeasurement(Feature feature) const { return m_countBits.hasR ecordedMeasurement(feature); } 955 bool hasRecordedMeasurement(Feature feature) const { return m_countBits.hasR ecordedMeasurement(feature); }
955 956
956 CountBits m_countBits; 957 CountBits m_countBits;
957 BitVector m_CSSFeatureBits; 958 BitVector m_CSSFeatureBits;
958 }; 959 };
959 960
960 } // namespace blink 961 } // namespace blink
961 962
962 #endif // UseCounter_h 963 #endif // UseCounter_h
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/html/HTMLFieldSetElement.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698