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

Side by Side Diff: components/html_viewer/geolocation_client_impl.h

Issue 1677293002: Bye bye Mandoline (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: moar Created 4 years, 10 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
(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 "base/macros.h"
6 #include "base/memory/scoped_ptr.h"
7 #include "third_party/WebKit/public/web/WebGeolocationClient.h"
8
9 namespace html_viewer {
10
11 class GeolocationClientImpl : public blink::WebGeolocationClient {
12 public:
13 GeolocationClientImpl();
14 ~GeolocationClientImpl() override;
15
16 // WebGeolocationClient methods:
17 void startUpdating() override;
18 void stopUpdating() override;
19 void setEnableHighAccuracy(bool) override;
20 bool lastPosition(blink::WebGeolocationPosition&) override;
21 void requestPermission(
22 const blink::WebGeolocationPermissionRequest&) override;
23 void cancelPermissionRequest(
24 const blink::WebGeolocationPermissionRequest&) override;
25 void setController(blink::WebGeolocationController* controller) override;
26
27 private:
28 scoped_ptr<blink::WebGeolocationController> controller_;
29
30 DISALLOW_COPY_AND_ASSIGN(GeolocationClientImpl);
31 };
32
33 } // namespace html_viewer
OLDNEW
« no previous file with comments | « components/html_viewer/generate_blink_resource_map.py ('k') | components/html_viewer/geolocation_client_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698