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

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

Issue 2754783004: Add UseCounters to evaluate usage and risk with upcoming WebVR spec changes. (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/modules/vr/VRDisplay.idl » ('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 1467 matching lines...) Expand 10 before | Expand all | Expand 10 after
1478 ScrollByWheel = 1848, 1478 ScrollByWheel = 1848,
1479 ScheduledActionIgnored = 1849, 1479 ScheduledActionIgnored = 1849,
1480 GetCanvas2DContextAttributes = 1850, 1480 GetCanvas2DContextAttributes = 1850,
1481 V8HTMLInputElement_Capture_AttributeGetter = 1851, 1481 V8HTMLInputElement_Capture_AttributeGetter = 1851,
1482 V8HTMLInputElement_Capture_AttributeSetter = 1852, 1482 V8HTMLInputElement_Capture_AttributeSetter = 1852,
1483 HTMLMediaElementControlsListAttribute = 1853, 1483 HTMLMediaElementControlsListAttribute = 1853,
1484 HTMLMediaElementControlsListNoDownload = 1854, 1484 HTMLMediaElementControlsListNoDownload = 1854,
1485 HTMLMediaElementControlsListNoFullscreen = 1855, 1485 HTMLMediaElementControlsListNoFullscreen = 1855,
1486 HTMLMediaElementControlsListNoRemotePlayback = 1856, 1486 HTMLMediaElementControlsListNoRemotePlayback = 1856,
1487 PointerEventClickRetargetCausedByCapture = 1857, 1487 PointerEventClickRetargetCausedByCapture = 1857,
1488 VRDisplayIsConnected = 1858,
1489 VRDisplayResetPose = 1859,
1490 VRDisplayCapabilitiesHasOrientation = 1860,
1491 VRDisplayDisplayName = 1861,
1492 VREyeParametersOffset = 1862,
1493 VRPoseLinearVelocity = 1863,
1494 VRPoseLinearAcceleration = 1864,
1495 VRPoseAngularVelocity = 1865,
1496 VRPoseAngularAcceleration = 1866,
1488 1497
1489 // Add new features immediately above this line. Don't change assigned 1498 // Add new features immediately above this line. Don't change assigned
1490 // numbers of any item, and don't reuse removed slots. 1499 // numbers of any item, and don't reuse removed slots.
1491 // Also, run update_use_counter_feature_enum.py in 1500 // Also, run update_use_counter_feature_enum.py in
1492 // chromium/src/tools/metrics/histograms/ to update the UMA mapping. 1501 // chromium/src/tools/metrics/histograms/ to update the UMA mapping.
1493 NumberOfFeatures, // This enum value must be last. 1502 NumberOfFeatures, // This enum value must be last.
1494 }; 1503 };
1495 1504
1496 // An interface to observe UseCounter changes. Note that this is never 1505 // An interface to observe UseCounter changes. Note that this is never
1497 // notified when the counter is disabled by |m_muteCount| or 1506 // notified when the counter is disabled by |m_muteCount| or
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
1587 // Tracks what features/properties need to be reported to the legacy 1596 // Tracks what features/properties need to be reported to the legacy
1588 // histograms. 1597 // histograms.
1589 BitVector m_featureBits; 1598 BitVector m_featureBits;
1590 BitVector m_CSSBits; 1599 BitVector m_CSSBits;
1591 } m_legacyCounter; 1600 } m_legacyCounter;
1592 }; 1601 };
1593 1602
1594 } // namespace blink 1603 } // namespace blink
1595 1604
1596 #endif // UseCounter_h 1605 #endif // UseCounter_h
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/modules/vr/VRDisplay.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698