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

Unified Diff: third_party/WebKit/Source/modules/geolocation/Coordinates.idl

Issue 2526943002: Add use counters for lots of DOM APIs.
Patch Set: Add use counters for lots of DOM APIs. Created 4 years 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/geolocation/Coordinates.idl
diff --git a/third_party/WebKit/Source/modules/geolocation/Coordinates.idl b/third_party/WebKit/Source/modules/geolocation/Coordinates.idl
index ed2b8bf6c3705b5da62d51936e004d227992d7e5..c7cc1028a0c26952678d789d3257f1ccd3459f3f 100644
--- a/third_party/WebKit/Source/modules/geolocation/Coordinates.idl
+++ b/third_party/WebKit/Source/modules/geolocation/Coordinates.idl
@@ -26,11 +26,11 @@
[
NoInterfaceObject
] interface Coordinates {
- readonly attribute double latitude;
- readonly attribute double longitude;
- readonly attribute double? altitude;
- readonly attribute double accuracy;
- readonly attribute double? altitudeAccuracy;
- readonly attribute double? heading;
- readonly attribute double? speed;
+ [MeasureAs=GeolocationAPI] readonly attribute double latitude;
+ [MeasureAs=GeolocationAPI] readonly attribute double longitude;
+ [MeasureAs=GeolocationAPI] readonly attribute double? altitude;
+ [MeasureAs=GeolocationAPI] readonly attribute double accuracy;
+ [MeasureAs=GeolocationAPI] readonly attribute double? altitudeAccuracy;
+ [MeasureAs=GeolocationAPI] readonly attribute double? heading;
+ [MeasureAs=GeolocationAPI] readonly attribute double? speed;
};

Powered by Google App Engine
This is Rietveld 408576698