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

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

Issue 2475443004: Add use counter when touch-action isn't used when preventDefault'd. (Closed)
Patch Set: Whoops missed updating a file Created 4 years, 1 month 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 1371 matching lines...) Expand 10 before | Expand all | Expand 10 after
1382 OffscreenCanvasCommitWebGL = 1661, 1382 OffscreenCanvasCommitWebGL = 1661,
1383 RTCConfigurationIceTransportPolicy = 1662, 1383 RTCConfigurationIceTransportPolicy = 1662,
1384 RTCConfigurationIceTransportPolicyNone = 1663, 1384 RTCConfigurationIceTransportPolicyNone = 1663,
1385 RTCConfigurationIceTransports = 1664, 1385 RTCConfigurationIceTransports = 1664,
1386 DocumentFullscreenElementInV0Shadow = 1665, 1386 DocumentFullscreenElementInV0Shadow = 1665,
1387 ScriptWithCSPBypassingSchemeParserInserted = 1666, 1387 ScriptWithCSPBypassingSchemeParserInserted = 1666,
1388 ScriptWithCSPBypassingSchemeNotParserInserted = 1667, 1388 ScriptWithCSPBypassingSchemeNotParserInserted = 1667,
1389 DocumentCreateElement2ndArgStringHandling = 1668, 1389 DocumentCreateElement2ndArgStringHandling = 1668,
1390 V8MediaRecorder_Start_Method = 1669, 1390 V8MediaRecorder_Start_Method = 1669,
1391 WebBluetoothRequestDevice = 1670, 1391 WebBluetoothRequestDevice = 1670,
1392 TouchEventPreventedNoTouchAction = 1671,
1393 TouchEventPreventedForcedDocumentPassiveNoTouchAction = 1672,
1392 1394
1393 // Add new features immediately above this line. Don't change assigned 1395 // Add new features immediately above this line. Don't change assigned
1394 // numbers of any item, and don't reuse removed slots. 1396 // numbers of any item, and don't reuse removed slots.
1395 // Also, run update_use_counter_feature_enum.py in 1397 // Also, run update_use_counter_feature_enum.py in
1396 // chromium/src/tools/metrics/histograms/ to update the UMA mapping. 1398 // chromium/src/tools/metrics/histograms/ to update the UMA mapping.
1397 NumberOfFeatures, // This enum value must be last. 1399 NumberOfFeatures, // This enum value must be last.
1398 }; 1400 };
1399 1401
1400 // "count" sets the bit for this feature to 1. Repeated calls are ignored. 1402 // "count" sets the bit for this feature to 1. Repeated calls are ignored.
1401 static void count(const Frame*, Feature); 1403 static void count(const Frame*, Feature);
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
1470 // Tracks what features/properties need to be reported to the legacy 1472 // Tracks what features/properties need to be reported to the legacy
1471 // histograms. 1473 // histograms.
1472 BitVector m_featureBits; 1474 BitVector m_featureBits;
1473 BitVector m_CSSBits; 1475 BitVector m_CSSBits;
1474 } m_legacyCounter; 1476 } m_legacyCounter;
1475 }; 1477 };
1476 1478
1477 } // namespace blink 1479 } // namespace blink
1478 1480
1479 #endif // UseCounter_h 1481 #endif // UseCounter_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698