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

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

Issue 1822883002: Merge "Add unicode flag to blink::ScriptRegexp, and measure incompatibility for |pattern| content a… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2661
Patch Set: 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 1073 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 // The above items are available in M50 branch 1089 // The above items are available in M50 branch
1090 1090
1091 HTMLLabelElementFormIsDifferentFromControlForm = 1261, 1091 HTMLLabelElementFormIsDifferentFromControlForm = 1261,
1092 HTMLLabelElementHasNoControlAndFormIsAncestor = 1262, 1092 HTMLLabelElementHasNoControlAndFormIsAncestor = 1262,
1093 HTMLLabelElementControlForNonFormAssociatedElement = 1263, 1093 HTMLLabelElementControlForNonFormAssociatedElement = 1263,
1094 PatternAttributeUnicodeFlagIsIncompatible = 1264,
1094 1095
1095 // Add new features immediately above this line. Don't change assigned 1096 // Add new features immediately above this line. Don't change assigned
1096 // numbers of any item, and don't reuse removed slots. 1097 // numbers of any item, and don't reuse removed slots.
1097 // Also, run update_use_counter_feature_enum.py in chromium/src/tools/me trics/histograms/ 1098 // Also, run update_use_counter_feature_enum.py in chromium/src/tools/me trics/histograms/
1098 // to update the UMA mapping. 1099 // to update the UMA mapping.
1099 NumberOfFeatures, // This enum value must be last. 1100 NumberOfFeatures, // This enum value must be last.
1100 }; 1101 };
1101 1102
1102 // "count" sets the bit for this feature to 1. Repeated calls are ignored. 1103 // "count" sets the bit for this feature to 1. Repeated calls are ignored.
1103 static void count(const Frame*, Feature); 1104 static void count(const Frame*, Feature);
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
1178 friend class UseCounterTest; 1179 friend class UseCounterTest;
1179 static int m_muteCount; 1180 static int m_muteCount;
1180 1181
1181 CountBits m_countBits; 1182 CountBits m_countBits;
1182 BitVector m_CSSFeatureBits; 1183 BitVector m_CSSFeatureBits;
1183 }; 1184 };
1184 1185
1185 } // namespace blink 1186 } // namespace blink
1186 1187
1187 #endif // UseCounter_h 1188 #endif // UseCounter_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698