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

Unified Diff: Source/modules/geolocation/GeolocationClient.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 linking errors Created 6 years, 7 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: Source/modules/geolocation/GeolocationClient.h
diff --git a/Source/modules/geolocation/GeolocationClient.h b/Source/modules/geolocation/GeolocationClient.h
index 14533c622b4d34371ed4c52cfbc6bf4888aec01f..c4a90dac8ac6061cd64da3157f35a062c99d1300 100644
--- a/Source/modules/geolocation/GeolocationClient.h
+++ b/Source/modules/geolocation/GeolocationClient.h
@@ -29,8 +29,9 @@
namespace WebCore {
class Geolocation;
+class GeolocationController;
class GeolocationPosition;
-class Page;
+class LocalFrame;
class GeolocationClient {
public:
@@ -44,11 +45,14 @@ public:
virtual void requestPermission(Geolocation*) = 0;
virtual void cancelPermissionRequest(Geolocation*) = 0;
+ virtual void controllerForTestAdded(GeolocationController*) { }
+ virtual void controllerForTestRemoved(GeolocationController*) { }
+
protected:
virtual ~GeolocationClient() { }
};
-void provideGeolocationTo(Page&, GeolocationClient*);
+void provideGeolocationTo(LocalFrame&, GeolocationClient*);
} // namespace WebCore

Powered by Google App Engine
This is Rietveld 408576698