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

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

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