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

Side by Side Diff: components/geolocation/public/interfaces/geolocation.mojom

Issue 1373883003: Move geolocation and permission mojoms into components. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 4
5 module content; 5 module geolocation;
6 6
7 import "content/public/common/mojo_geoposition.mojom"; 7 import "geoposition.mojom";
8 8
9 // The Geolocation service provides updates on the device's location. By 9 // The Geolocation service provides updates on the device's location. By
10 // default, it provides updates with low accuracy, but |SetHighAccuracy()| may 10 // default, it provides updates with low accuracy, but |SetHighAccuracy()| may
11 // be called to change this. 11 // be called to change this.
12 interface GeolocationService { 12 interface GeolocationService {
13 SetHighAccuracy(bool high_accuracy); 13 SetHighAccuracy(bool high_accuracy);
14 14
15 // Position is reported once it changes or immediately (to report the initial 15 // Position is reported once it changes or immediately (to report the initial
16 // position) if this is the first call to QueryNextPosition on this instance. 16 // position) if this is the first call to QueryNextPosition on this instance.
17 // Position updates may be throttled by the service. Overlapping calls to 17 // Position updates may be throttled by the service. Overlapping calls to
18 // this method are prohibited and will be treated as a connection error. 18 // this method are prohibited and will be treated as a connection error.
19 QueryNextPosition() => (MojoGeoposition geoposition); 19 QueryNextPosition() => (Geoposition geoposition);
20 }; 20 };
OLDNEW
« no previous file with comments | « components/geolocation/public/interfaces/BUILD.gn ('k') | components/geolocation/public/interfaces/geolocation_interfaces.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698