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

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

Issue 1645433002: Basic implementation of @apply (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix expted.txt for failing test Created 4 years, 9 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
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 1068 matching lines...) Expand 10 before | Expand all | Expand 10 after
1079 V8Animation_Id_AttributeGetter = 1239, 1079 V8Animation_Id_AttributeGetter = 1239,
1080 V8Animation_Id_AttributeSetter = 1240, 1080 V8Animation_Id_AttributeSetter = 1240,
1081 MediaStreamOnEnded = 1241, 1081 MediaStreamOnEnded = 1241,
1082 DocumentCreateEventInputEvent = 1242, 1082 DocumentCreateEventInputEvent = 1242,
1083 WebAnimationHyphenatedProperty = 1243, 1083 WebAnimationHyphenatedProperty = 1243,
1084 FormControlsCollectionReturnsRadioNodeListForFieldSet = 1244, 1084 FormControlsCollectionReturnsRadioNodeListForFieldSet = 1244,
1085 ApplicationCacheManifestSelectInsecureOrigin = 1245, 1085 ApplicationCacheManifestSelectInsecureOrigin = 1245,
1086 ApplicationCacheManifestSelectSecureOrigin = 1246, 1086 ApplicationCacheManifestSelectSecureOrigin = 1246,
1087 ApplicationCacheAPIInsecureOrigin = 1247, 1087 ApplicationCacheAPIInsecureOrigin = 1247,
1088 ApplicationCacheAPISecureOrigin = 1248, 1088 ApplicationCacheAPISecureOrigin = 1248,
1089 CSSAtRuleApply = 1249,
1089 1090
1090 // Add new features immediately above this line. Don't change assigned 1091 // Add new features immediately above this line. Don't change assigned
1091 // numbers of any item, and don't reuse removed slots. 1092 // numbers of any item, and don't reuse removed slots.
1092 // Also, run update_use_counter_feature_enum.py in chromium/src/tools/me trics/histograms/ 1093 // Also, run update_use_counter_feature_enum.py in chromium/src/tools/me trics/histograms/
1093 // to update the UMA mapping. 1094 // to update the UMA mapping.
1094 NumberOfFeatures, // This enum value must be last. 1095 NumberOfFeatures, // This enum value must be last.
1095 }; 1096 };
1096 1097
1097 // "count" sets the bit for this feature to 1. Repeated calls are ignored. 1098 // "count" sets the bit for this feature to 1. Repeated calls are ignored.
1098 static void count(const Frame*, Feature); 1099 static void count(const Frame*, Feature);
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
1169 friend class UseCounterTest; 1170 friend class UseCounterTest;
1170 static int m_muteCount; 1171 static int m_muteCount;
1171 1172
1172 CountBits m_countBits; 1173 CountBits m_countBits;
1173 BitVector m_CSSFeatureBits; 1174 BitVector m_CSSFeatureBits;
1174 }; 1175 };
1175 1176
1176 } // namespace blink 1177 } // namespace blink
1177 1178
1178 #endif // UseCounter_h 1179 #endif // UseCounter_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698