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

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

Issue 2809843002: Geolocation: rename Geoposition to Position to follow Spec (Closed)
Patch Set: position-string-expected.txt Created 3 years, 8 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/geolocation/Position.idl
diff --git a/third_party/WebKit/Source/modules/geolocation/Geoposition.idl b/third_party/WebKit/Source/modules/geolocation/Position.idl
similarity index 94%
rename from third_party/WebKit/Source/modules/geolocation/Geoposition.idl
rename to third_party/WebKit/Source/modules/geolocation/Position.idl
index 1b5e3477064f3e1141a8de98bafc2b04ade47d65..5c46d64cfc3f90fa87fdc05fd9bc0f87ce352945 100644
--- a/third_party/WebKit/Source/modules/geolocation/Geoposition.idl
+++ b/third_party/WebKit/Source/modules/geolocation/Position.idl
@@ -23,9 +23,11 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+// https://www.w3.org/TR/geolocation-API/#position_interface
+
[
NoInterfaceObject
-] interface Geoposition {
+] interface Position {
readonly attribute Coordinates coords;
readonly attribute DOMTimeStamp timestamp;
};

Powered by Google App Engine
This is Rietveld 408576698