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 2747763002: Add use count for click retargeting due to capture (Closed)
Patch Set: Created 3 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/input/MouseEventManager.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 1465 matching lines...) Expand 10 before | Expand all | Expand 10 after
1476 ScrollByTouch = 1847, 1476 ScrollByTouch = 1847,
1477 ScrollByWheel = 1848, 1477 ScrollByWheel = 1848,
1478 ScheduledActionIgnored = 1849, 1478 ScheduledActionIgnored = 1849,
1479 GetCanvas2DContextAttributes = 1850, 1479 GetCanvas2DContextAttributes = 1850,
1480 V8HTMLInputElement_Capture_AttributeGetter = 1851, 1480 V8HTMLInputElement_Capture_AttributeGetter = 1851,
1481 V8HTMLInputElement_Capture_AttributeSetter = 1852, 1481 V8HTMLInputElement_Capture_AttributeSetter = 1852,
1482 HTMLMediaElementControlsListAttribute = 1853, 1482 HTMLMediaElementControlsListAttribute = 1853,
1483 HTMLMediaElementControlsListNoDownload = 1854, 1483 HTMLMediaElementControlsListNoDownload = 1854,
1484 HTMLMediaElementControlsListNoFullscreen = 1855, 1484 HTMLMediaElementControlsListNoFullscreen = 1855,
1485 HTMLMediaElementControlsListNoRemotePlayback = 1856, 1485 HTMLMediaElementControlsListNoRemotePlayback = 1856,
1486 PointerEventClickRetargetCausedByCapture = 1857,
1486 1487
1487 // Add new features immediately above this line. Don't change assigned 1488 // Add new features immediately above this line. Don't change assigned
1488 // numbers of any item, and don't reuse removed slots. 1489 // numbers of any item, and don't reuse removed slots.
1489 // Also, run update_use_counter_feature_enum.py in 1490 // Also, run update_use_counter_feature_enum.py in
1490 // chromium/src/tools/metrics/histograms/ to update the UMA mapping. 1491 // chromium/src/tools/metrics/histograms/ to update the UMA mapping.
1491 NumberOfFeatures, // This enum value must be last. 1492 NumberOfFeatures, // This enum value must be last.
1492 }; 1493 };
1493 1494
1494 // An interface to observe UseCounter changes. Note that this is never 1495 // An interface to observe UseCounter changes. Note that this is never
1495 // notified when the counter is disabled by |m_muteCount| or 1496 // notified when the counter is disabled by |m_muteCount| or
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
1595 // Tracks what features/properties need to be reported to the legacy 1596 // Tracks what features/properties need to be reported to the legacy
1596 // histograms. 1597 // histograms.
1597 BitVector m_featureBits; 1598 BitVector m_featureBits;
1598 BitVector m_CSSBits; 1599 BitVector m_CSSBits;
1599 } m_legacyCounter; 1600 } m_legacyCounter;
1600 }; 1601 };
1601 1602
1602 } // namespace blink 1603 } // namespace blink
1603 1604
1604 #endif // UseCounter_h 1605 #endif // UseCounter_h
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/input/MouseEventManager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698