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

Unified Diff: third_party/WebKit/Source/modules/sensor/Sensor.idl

Issue 2787013003: [Sensors] Adding more UMA histogram values (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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/modules/sensor/Sensor.idl
diff --git a/third_party/WebKit/Source/modules/sensor/Sensor.idl b/third_party/WebKit/Source/modules/sensor/Sensor.idl
index daf1e537a99501a0e55cfc94b01f7ae7edbff8cc..45f02c4944cf3416fee2fdbabeb221aa9a309473 100644
--- a/third_party/WebKit/Source/modules/sensor/Sensor.idl
+++ b/third_party/WebKit/Source/modules/sensor/Sensor.idl
@@ -18,13 +18,13 @@ enum SensorState {
DependentLifetime,
RuntimeEnabled=Sensor,
] interface Sensor : EventTarget {
- readonly attribute SensorState state;
+ [MeasureAs=GenericSensorState] readonly attribute SensorState state;
[CallWith=ScriptState] readonly attribute DOMHighResTimeStamp? timestamp;
[MeasureAs=GenericSensorStart] void start();
[MeasureAs=GenericSensorStop] void stop();
- attribute EventHandler onerror;
- attribute EventHandler onchange;
- attribute EventHandler onactivate;
+ [MeasureAs=GenericSensorOnError] attribute EventHandler onerror;
+ [MeasureAs=GenericSensorOnChange] attribute EventHandler onchange;
+ [MeasureAs=GenericSensorOnActivate] attribute EventHandler onactivate;
};
« no previous file with comments | « third_party/WebKit/Source/modules/sensor/OrientationSensor.idl ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698