Index: content/browser/web_contents/web_contents_impl.h |
diff --git a/content/browser/web_contents/web_contents_impl.h b/content/browser/web_contents/web_contents_impl.h |
index c4377965ac11c5df8bea5aa1b350738c9e6e7d61..88eaf22ba2c8a6f8ab2548292d147ef18b39005d 100644 |
--- a/content/browser/web_contents/web_contents_impl.h |
+++ b/content/browser/web_contents/web_contents_impl.h |
@@ -52,6 +52,7 @@ class BrowserPluginGuestManager; |
class DateTimeChooserAndroid; |
class DownloadItem; |
class GeolocationDispatcherHost; |
+class GeolocationServiceContext; |
class InterstitialPageImpl; |
class JavaScriptDialogManager; |
class ManifestManagerHost; |
@@ -173,10 +174,6 @@ class CONTENT_EXPORT WebContentsImpl |
WebContentsView* GetView() const; |
- GeolocationDispatcherHost* geolocation_dispatcher_host() { |
- return geolocation_dispatcher_host_.get(); |
- } |
- |
ScreenOrientationDispatcherHost* screen_orientation_dispatcher_host() { |
return screen_orientation_dispatcher_host_.get(); |
} |
@@ -385,8 +382,9 @@ class CONTENT_EXPORT WebContentsImpl |
const std::vector<AXEventNotificationDetails>& details) override; |
RenderFrameHost* GetGuestByInstanceID( |
int browser_plugin_instance_id) override; |
+ GeolocationServiceContext* GetGeolocationServiceContext() override; |
#if defined(OS_WIN) |
- virtual gfx::NativeViewAccessible GetParentNativeViewAccessible() override; |
+ gfx::NativeViewAccessible GetParentNativeViewAccessible() override; |
#endif |
// RenderViewHostDelegate ---------------------------------------------------- |
@@ -1194,6 +1192,8 @@ class CONTENT_EXPORT WebContentsImpl |
// Whether the last JavaScript dialog shown was suppressed. Used for testing. |
bool last_dialog_suppressed_; |
+ scoped_ptr<GeolocationServiceContext> geolocation_service_context_; |
+ |
scoped_ptr<GeolocationDispatcherHost> geolocation_dispatcher_host_; |
scoped_ptr<MidiDispatcherHost> midi_dispatcher_host_; |