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