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 1223 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1234 MediaSourceAbortRemove = 1428, | 1234 MediaSourceAbortRemove = 1428, |
1235 MediaSourceDurationTruncatingBuffered = 1429, | 1235 MediaSourceDurationTruncatingBuffered = 1429, |
1236 AudioContextCrossOriginIframe = 1430, | 1236 AudioContextCrossOriginIframe = 1430, |
1237 // The above items are available in M53 branch | 1237 // The above items are available in M53 branch |
1238 | 1238 |
1239 PointerEventSetCapture = 1431, | 1239 PointerEventSetCapture = 1431, |
1240 PointerEventDispatch = 1432, | 1240 PointerEventDispatch = 1432, |
1241 MIDIMessageEventReceivedTime = 1433, | 1241 MIDIMessageEventReceivedTime = 1433, |
1242 SummaryElementWithDisplayBlockAuthorRule = 1434, | 1242 SummaryElementWithDisplayBlockAuthorRule = 1434, |
1243 V8MediaStream_Active_AttributeGetter = 1435, | 1243 V8MediaStream_Active_AttributeGetter = 1435, |
| 1244 BeforeInstallPromptEvent = 1436, |
| 1245 BeforeInstallPromptEventUserChoice = 1437, |
| 1246 BeforeInstallPromptEventPreventDefault = 1438, |
| 1247 BeforeInstallPromptEventPrompt = 1439, |
1244 | 1248 |
1245 // Add new features immediately above this line. Don't change assigned | 1249 // Add new features immediately above this line. Don't change assigned |
1246 // numbers of any item, and don't reuse removed slots. | 1250 // numbers of any item, and don't reuse removed slots. |
1247 // Also, run update_use_counter_feature_enum.py in chromium/src/tools/me
trics/histograms/ | 1251 // Also, run update_use_counter_feature_enum.py in chromium/src/tools/me
trics/histograms/ |
1248 // to update the UMA mapping. | 1252 // to update the UMA mapping. |
1249 NumberOfFeatures, // This enum value must be last. | 1253 NumberOfFeatures, // This enum value must be last. |
1250 }; | 1254 }; |
1251 | 1255 |
1252 // "count" sets the bit for this feature to 1. Repeated calls are ignored. | 1256 // "count" sets the bit for this feature to 1. Repeated calls are ignored. |
1253 static void count(const Frame*, Feature); | 1257 static void count(const Frame*, Feature); |
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1328 friend class UseCounterTest; | 1332 friend class UseCounterTest; |
1329 static int m_muteCount; | 1333 static int m_muteCount; |
1330 | 1334 |
1331 CountBits m_countBits; | 1335 CountBits m_countBits; |
1332 BitVector m_CSSFeatureBits; | 1336 BitVector m_CSSFeatureBits; |
1333 }; | 1337 }; |
1334 | 1338 |
1335 } // namespace blink | 1339 } // namespace blink |
1336 | 1340 |
1337 #endif // UseCounter_h | 1341 #endif // UseCounter_h |
OLD | NEW |