Roll src/third_party/WebKit c63b89c:29324ab (svn 202546:202547)
[chromium-blink-merge.git] / components / html_viewer / geolocation_client_impl.cc
blob5376f7f4644c1ea3a71428c44fe7f9f040a17344
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.
5 #include "components/html_viewer/geolocation_client_impl.h"
7 #include "base/logging.h"
8 #include "third_party/WebKit/public/web/WebGeolocationController.h"
10 namespace html_viewer {
12 GeolocationClientImpl::GeolocationClientImpl() {
15 GeolocationClientImpl::~GeolocationClientImpl() {
18 void GeolocationClientImpl::startUpdating() {
19 NOTIMPLEMENTED();
22 void GeolocationClientImpl::stopUpdating() {
23 NOTIMPLEMENTED();
26 void GeolocationClientImpl::setEnableHighAccuracy(bool) {
27 NOTIMPLEMENTED();
30 bool GeolocationClientImpl::lastPosition(blink::WebGeolocationPosition&) {
31 NOTIMPLEMENTED();
32 return false;
35 void GeolocationClientImpl::requestPermission(
36 const blink::WebGeolocationPermissionRequest&) {
37 NOTIMPLEMENTED();
40 void GeolocationClientImpl::cancelPermissionRequest(
41 const blink::WebGeolocationPermissionRequest&) {
42 NOTIMPLEMENTED();
45 void GeolocationClientImpl::setController(
46 blink::WebGeolocationController* controller) {
47 // Ownership of the WebGeolocationController is transferred to the client.
48 controller_.reset(controller);
51 } // namespace html_viewer