OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 #ifndef CONTENT_RENDERER_GEOLOCATION_DISPATCHER_H_ | 5 #ifndef CONTENT_RENDERER_GEOLOCATION_DISPATCHER_H_ |
6 #define CONTENT_RENDERER_GEOLOCATION_DISPATCHER_H_ | 6 #define CONTENT_RENDERER_GEOLOCATION_DISPATCHER_H_ |
7 #pragma once | |
8 | 7 |
9 #include "base/memory/scoped_ptr.h" | 8 #include "base/memory/scoped_ptr.h" |
10 #include "content/public/renderer/render_view_observer.h" | 9 #include "content/public/renderer/render_view_observer.h" |
11 #include "third_party/WebKit/Source/WebKit/chromium/public/WebGeolocationClient.
h" | 10 #include "third_party/WebKit/Source/WebKit/chromium/public/WebGeolocationClient.
h" |
12 #include "third_party/WebKit/Source/WebKit/chromium/public/WebGeolocationControl
ler.h" | 11 #include "third_party/WebKit/Source/WebKit/chromium/public/WebGeolocationControl
ler.h" |
13 | 12 |
14 class RenderViewImpl; | 13 class RenderViewImpl; |
15 | 14 |
16 namespace content { | 15 namespace content { |
17 struct Geoposition; | 16 struct Geoposition; |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
60 // invoked when the underlying object is destroyed. | 59 // invoked when the underlying object is destroyed. |
61 scoped_ptr< WebKit::WebGeolocationController> controller_; | 60 scoped_ptr< WebKit::WebGeolocationController> controller_; |
62 | 61 |
63 scoped_ptr<WebKit::WebGeolocationPermissionRequestManager> | 62 scoped_ptr<WebKit::WebGeolocationPermissionRequestManager> |
64 pending_permissions_; | 63 pending_permissions_; |
65 bool enable_high_accuracy_; | 64 bool enable_high_accuracy_; |
66 bool updating_; | 65 bool updating_; |
67 }; | 66 }; |
68 | 67 |
69 #endif // CONTENT_RENDERER_GEOLOCATION_DISPATCHER_H_ | 68 #endif // CONTENT_RENDERER_GEOLOCATION_DISPATCHER_H_ |
OLD | NEW |