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

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

Issue 2816713004: Geolocation: rename Geoposition to Position to follow Spec (take 2) (Closed)
Patch Set: 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 91%
rename from third_party/WebKit/Source/modules/geolocation/Geoposition.idl
rename to third_party/WebKit/Source/modules/geolocation/Position.idl
index 1b5e3477064f3e1141a8de98bafc2b04ade47d65..8081e3f749c4165cf0cf4fd7e14402db39638f87 100644
--- a/third_party/WebKit/Source/modules/geolocation/Geoposition.idl
+++ b/third_party/WebKit/Source/modules/geolocation/Position.idl
@@ -23,9 +23,12 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+// https://www.w3.org/TR/geolocation-API/#position_interface
+
[
- NoInterfaceObject
-] interface Geoposition {
+ NoInterfaceObject,
+ ImplementedAs=Geoposition
+] interface Position {
readonly attribute Coordinates coords;
readonly attribute DOMTimeStamp timestamp;
};

Powered by Google App Engine
This is Rietveld 408576698