summaryrefslogtreecommitdiffstats
path: root/chrome/renderer/render_view.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/renderer/render_view.h')
-rw-r--r--chrome/renderer/render_view.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/chrome/renderer/render_view.h b/chrome/renderer/render_view.h
index 691ce8a..8f453b9 100644
--- a/chrome/renderer/render_view.h
+++ b/chrome/renderer/render_view.h
@@ -69,6 +69,7 @@ class DictionaryValue;
class DevToolsAgent;
class DevToolsClient;
class FilePath;
+class GeolocationDispatcher;
class GURL;
class ListValue;
class NavigationState;
@@ -89,6 +90,10 @@ struct FileUploadData;
}
namespace WebKit {
+class WebGeolocationServiceInterfaceChromium;
+}
+
+namespace WebKit {
class WebAccessibilityCache;
class WebDataSource;
class WebDragData;
@@ -259,6 +264,7 @@ class RenderView : public RenderWidget,
virtual WebKit::WebNotificationPresenter* GetNotificationPresenter() {
return notification_provider_.get();
}
+ virtual WebKit::WebGeolocationServiceInterface* getGeolocationService();
// Sets the content settings that back allowScripts(), allowImages(), and
// allowPlugins().
@@ -1105,6 +1111,9 @@ class RenderView : public RenderWidget,
std::set<WebPluginDelegateProxy*> plugin_delegates_;
#endif
+ // The geolocation dispatcher attached to this view, lazily initialized.
+ scoped_ptr<GeolocationDispatcher> geolocation_dispatcher_;
+
DISALLOW_COPY_AND_ASSIGN(RenderView);
};