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

Side by Side Diff: chrome/common/extensions/api/location.idl

Issue 12996003: Dynamically generate a heading for Extension Docs API pages (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressing comments - Patch currently being broken up Created 7 years, 6 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
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 // TODO(vadimt): Consider reusing WebKit/Blink types, if this is possible.
4 5
5 // TODO(vadimt): Consider reusing WebKit/Blink types, if this is possible.
6 namespace location { 6 namespace location {
7 // Coordinates part of the Location object. 7 // Coordinates part of the Location object.
8 dictionary Coordinates { 8 dictionary Coordinates {
9 // The geographic latitude specified in degrees. 9 // The geographic latitude specified in degrees.
10 double latitude; 10 double latitude;
11 11
12 // The geographic longitude specified in degrees. 12 // The geographic longitude specified in degrees.
13 double longitude; 13 double longitude;
14 14
15 // The height of the position, specified in meters above the [WGS84] 15 // The height of the position, specified in meters above the [WGS84]
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 interface Events { 86 interface Events {
87 // Fired when a location change is detected. 87 // Fired when a location change is detected.
88 // |location| : An object containing matching events and new location. 88 // |location| : An object containing matching events and new location.
89 static void onLocationUpdate(Location location); 89 static void onLocationUpdate(Location location);
90 90
91 // Fired when detecting location in not possible. 91 // Fired when detecting location in not possible.
92 // |error| : Human-readable error description. 92 // |error| : Human-readable error description.
93 static void onLocationError(DOMString error); 93 static void onLocationError(DOMString error);
94 }; 94 };
95 }; 95 };
OLDNEW
« no previous file with comments | « chrome/common/extensions/api/input_ime.json ('k') | chrome/common/extensions/api/management.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698