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

Unified Diff: public/web/WebFrameClient.h

Issue 256843004: Get the WebGeolocationClient from WebFrameClient instead of WebViewClient. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: fix layouttest, fix webkit_unit_tests crash, remove obsolete layout test Created 6 years, 8 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 side-by-side diff with in-line comments
Download patch
Index: public/web/WebFrameClient.h
diff --git a/public/web/WebFrameClient.h b/public/web/WebFrameClient.h
index d7e9b8e882e8c72d9f77455771263423df4a21f4..912636901e17e5931264593ff599c01decf40cd3 100644
--- a/public/web/WebFrameClient.h
+++ b/public/web/WebFrameClient.h
@@ -63,6 +63,7 @@ class WebCookieJar;
class WebDataSource;
class WebDOMEvent;
class WebFormElement;
+class WebGeolocationClient;
class WebInputEvent;
class WebMediaPlayer;
class WebMediaPlayerClient;
@@ -439,6 +440,12 @@ public:
virtual void willOpenSocketStream(WebSocketStreamHandle*) { }
+ // Geolocation ---------------------------------------------------------
+
+ // Access the embedder API for (client-based) geolocation client .
+ virtual WebGeolocationClient* geolocationClient() { return 0; }
+
+
// MediaStream -----------------------------------------------------
// A new WebRTCPeerConnectionHandler is created.

Powered by Google App Engine
This is Rietveld 408576698