OLD | NEW |
| (Empty) |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 #include "components/html_viewer/geolocation_client_impl.h" | |
6 | |
7 #include "base/logging.h" | |
8 #include "third_party/WebKit/public/web/WebGeolocationController.h" | |
9 | |
10 namespace html_viewer { | |
11 | |
12 GeolocationClientImpl::GeolocationClientImpl() { | |
13 } | |
14 | |
15 GeolocationClientImpl::~GeolocationClientImpl() { | |
16 } | |
17 | |
18 void GeolocationClientImpl::startUpdating() { | |
19 NOTIMPLEMENTED(); | |
20 } | |
21 | |
22 void GeolocationClientImpl::stopUpdating() { | |
23 NOTIMPLEMENTED(); | |
24 } | |
25 | |
26 void GeolocationClientImpl::setEnableHighAccuracy(bool) { | |
27 NOTIMPLEMENTED(); | |
28 } | |
29 | |
30 bool GeolocationClientImpl::lastPosition(blink::WebGeolocationPosition&) { | |
31 NOTIMPLEMENTED(); | |
32 return false; | |
33 } | |
34 | |
35 void GeolocationClientImpl::requestPermission( | |
36 const blink::WebGeolocationPermissionRequest&) { | |
37 NOTIMPLEMENTED(); | |
38 } | |
39 | |
40 void GeolocationClientImpl::cancelPermissionRequest( | |
41 const blink::WebGeolocationPermissionRequest&) { | |
42 NOTIMPLEMENTED(); | |
43 } | |
44 | |
45 void GeolocationClientImpl::setController( | |
46 blink::WebGeolocationController* controller) { | |
47 // Ownership of the WebGeolocationController is transferred to the client. | |
48 controller_.reset(controller); | |
49 } | |
50 | |
51 } // namespace html_viewer | |
OLD | NEW |