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

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

Issue 2088453002: Implement the inert attribute (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 3 years, 10 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 145 matching lines...) Expand 10 before | Expand all | Expand 10 after
156 PrefixedAndUnprefixedAnimationIterationEvent = 136, 156 PrefixedAndUnprefixedAnimationIterationEvent = 136,
157 EventReturnValue = 137, // Legacy IE extension. 157 EventReturnValue = 137, // Legacy IE extension.
158 SVGSVGElement = 138, 158 SVGSVGElement = 138,
159 DOMSubtreeModifiedEvent = 143, 159 DOMSubtreeModifiedEvent = 143,
160 DOMNodeInsertedEvent = 144, 160 DOMNodeInsertedEvent = 144,
161 DOMNodeRemovedEvent = 145, 161 DOMNodeRemovedEvent = 145,
162 DOMNodeRemovedFromDocumentEvent = 146, 162 DOMNodeRemovedFromDocumentEvent = 146,
163 DOMNodeInsertedIntoDocumentEvent = 147, 163 DOMNodeInsertedIntoDocumentEvent = 147,
164 DOMCharacterDataModifiedEvent = 148, 164 DOMCharacterDataModifiedEvent = 148,
165 DocumentAllLegacyCall = 150, 165 DocumentAllLegacyCall = 150,
166 HTMLEmbedElementLegacyCall = 152,
167 HTMLObjectElementLegacyCall = 153,
esprehn 2017/02/15 01:40:46 looks like bad merge on UseCounter
aboxhall 2017/02/15 02:06:16 Done.
166 GetMatchedCSSRules = 155, 168 GetMatchedCSSRules = 155,
167 PrefixedAudioDecodedByteCount = 164, 169 PrefixedAudioDecodedByteCount = 164,
168 PrefixedVideoDecodedByteCount = 165, 170 PrefixedVideoDecodedByteCount = 165,
169 PrefixedVideoSupportsFullscreen = 166, 171 PrefixedVideoSupportsFullscreen = 166,
170 PrefixedVideoDisplayingFullscreen = 167, 172 PrefixedVideoDisplayingFullscreen = 167,
171 PrefixedVideoEnterFullscreen = 168, 173 PrefixedVideoEnterFullscreen = 168,
172 PrefixedVideoExitFullscreen = 169, 174 PrefixedVideoExitFullscreen = 169,
173 PrefixedVideoEnterFullScreen = 170, 175 PrefixedVideoEnterFullScreen = 170,
174 PrefixedVideoExitFullScreen = 171, 176 PrefixedVideoExitFullScreen = 171,
175 PrefixedVideoDecodedFrameCount = 172, 177 PrefixedVideoDecodedFrameCount = 172,
(...skipping 813 matching lines...) Expand 10 before | Expand all | Expand 10 after
989 PluginDocument = 1313, 991 PluginDocument = 1313,
990 PluginDocumentInFrame = 1314, 992 PluginDocumentInFrame = 1314,
991 SinkDocument = 1315, 993 SinkDocument = 1315,
992 SinkDocumentInFrame = 1316, 994 SinkDocumentInFrame = 1316,
993 TextDocument = 1317, 995 TextDocument = 1317,
994 TextDocumentInFrame = 1318, 996 TextDocumentInFrame = 1318,
995 ViewSourceDocument = 1319, 997 ViewSourceDocument = 1319,
996 FileAPINativeLineEndings = 1320, 998 FileAPINativeLineEndings = 1320,
997 PointerEventAttributeCount = 1321, 999 PointerEventAttributeCount = 1321,
998 CompositedReplication = 1322, 1000 CompositedReplication = 1322,
1001 EncryptedMediaAllSelectedContentTypesHaveCodecs = 1323,
1002 EncryptedMediaAllSelectedContentTypesMissingCodecs = 1324,
999 V8DataTransferItem_WebkitGetAsEntry_Method = 1325, 1003 V8DataTransferItem_WebkitGetAsEntry_Method = 1325,
1000 V8HTMLInputElement_WebkitEntries_AttributeGetter = 1326, 1004 V8HTMLInputElement_WebkitEntries_AttributeGetter = 1326,
1001 Entry_Filesystem_AttributeGetter_IsolatedFileSystem = 1327, 1005 Entry_Filesystem_AttributeGetter_IsolatedFileSystem = 1327,
1002 Entry_GetMetadata_Method_IsolatedFileSystem = 1328, 1006 Entry_GetMetadata_Method_IsolatedFileSystem = 1328,
1003 Entry_MoveTo_Method_IsolatedFileSystem = 1329, 1007 Entry_MoveTo_Method_IsolatedFileSystem = 1329,
1004 Entry_CopyTo_Method_IsolatedFileSystem = 1330, 1008 Entry_CopyTo_Method_IsolatedFileSystem = 1330,
1005 Entry_Remove_Method_IsolatedFileSystem = 1331, 1009 Entry_Remove_Method_IsolatedFileSystem = 1331,
1006 Entry_GetParent_Method_IsolatedFileSystem = 1332, 1010 Entry_GetParent_Method_IsolatedFileSystem = 1332,
1007 Entry_ToURL_Method_IsolatedFileSystem = 1333, 1011 Entry_ToURL_Method_IsolatedFileSystem = 1333,
1008 During_Microtask_Alert = 1334, 1012 During_Microtask_Alert = 1334,
(...skipping 449 matching lines...) Expand 10 before | Expand all | Expand 10 after
1458 V8DeprecatedStorageInfo_QueryUsageAndQuota_Method = 1808, 1462 V8DeprecatedStorageInfo_QueryUsageAndQuota_Method = 1808,
1459 V8DeprecatedStorageInfo_RequestQuota_Method = 1809, 1463 V8DeprecatedStorageInfo_RequestQuota_Method = 1809,
1460 V8DeprecatedStorageQuota_QueryUsageAndQuota_Method = 1810, 1464 V8DeprecatedStorageQuota_QueryUsageAndQuota_Method = 1810,
1461 V8DeprecatedStorageQuota_RequestQuota_Method = 1811, 1465 V8DeprecatedStorageQuota_RequestQuota_Method = 1811,
1462 V8FileReaderSync_Constructor = 1812, 1466 V8FileReaderSync_Constructor = 1812,
1463 UncancellableTouchEventPreventDefaulted = 1813, 1467 UncancellableTouchEventPreventDefaulted = 1813,
1464 UncancellableTouchEventDueToMainThreadResponsivenessPreventDefaulted = 1814, 1468 UncancellableTouchEventDueToMainThreadResponsivenessPreventDefaulted = 1814,
1465 V8HTMLVideoElement_Poster_AttributeGetter = 1815, 1469 V8HTMLVideoElement_Poster_AttributeGetter = 1815,
1466 V8HTMLVideoElement_Poster_AttributeSetter = 1816, 1470 V8HTMLVideoElement_Poster_AttributeSetter = 1816,
1467 NotificationPermissionRequestedIframe = 1817, 1471 NotificationPermissionRequestedIframe = 1817,
1472 InertAttribute = 1818,
1468 1473
1469 // Add new features immediately above this line. Don't change assigned 1474 // Add new features immediately above this line. Don't change assigned
1470 // numbers of any item, and don't reuse removed slots. 1475 // numbers of any item, and don't reuse removed slots.
1471 // Also, run update_use_counter_feature_enum.py in 1476 // Also, run update_use_counter_feature_enum.py in
1472 // chromium/src/tools/metrics/histograms/ to update the UMA mapping. 1477 // chromium/src/tools/metrics/histograms/ to update the UMA mapping.
1473 NumberOfFeatures, // This enum value must be last. 1478 NumberOfFeatures, // This enum value must be last.
1474 }; 1479 };
1475 1480
1476 // An interface to observe UseCounter changes. Note that this is never 1481 // An interface to observe UseCounter changes. Note that this is never
1477 // notified when the counter is disabled by |m_muteCount| or 1482 // notified when the counter is disabled by |m_muteCount| or
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
1567 // Tracks what features/properties need to be reported to the legacy 1572 // Tracks what features/properties need to be reported to the legacy
1568 // histograms. 1573 // histograms.
1569 BitVector m_featureBits; 1574 BitVector m_featureBits;
1570 BitVector m_CSSBits; 1575 BitVector m_CSSBits;
1571 } m_legacyCounter; 1576 } m_legacyCounter;
1572 }; 1577 };
1573 1578
1574 } // namespace blink 1579 } // namespace blink
1575 1580
1576 #endif // UseCounter_h 1581 #endif // UseCounter_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698