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

Unified Diff: chrome/renderer/render_view.h

Issue 5938002: Remove legacy non-client-based geolocation code. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove non-client-based geolocation code. Created 9 years, 12 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: chrome/renderer/render_view.h
diff --git a/chrome/renderer/render_view.h b/chrome/renderer/render_view.h
index 7760d266c45b85c62dd85d5c751db935c35963bd..587f930b455200e419f61abc6392742d4b8c5292 100644
--- a/chrome/renderer/render_view.h
+++ b/chrome/renderer/render_view.h
@@ -497,9 +497,7 @@ class RenderView : public RenderWidget,
virtual void didClearAutoFillSelection(const WebKit::WebNode& node);
virtual void didAcceptAutocompleteSuggestion(
const WebKit::WebInputElement& element);
- // TODO(jknotten): Remove once building with ENABLE_CLIENT_BASED_GEOLOCATION.
virtual WebKit::WebGeolocationClient* geolocationClient();
- virtual WebKit::WebGeolocationService* geolocationService();
virtual WebKit::WebSpeechInputController* speechInputController(
WebKit::WebSpeechInputListener* listener);
virtual WebKit::WebDeviceOrientationClient* deviceOrientationClient();
@@ -1393,13 +1391,8 @@ class RenderView : public RenderWidget,
scoped_refptr<AudioMessageFilter> audio_message_filter_;
-#if defined(ENABLE_CLIENT_BASED_GEOLOCATION)
- // the geolocation dispatcher attached to this view, lazily initialized.
+ // The geolocation dispatcher attached to this view, lazily initialized.
scoped_ptr<GeolocationDispatcher> geolocation_dispatcher_;
-#else
- // TODO(jknotten): Remove once building with ENABLE_CLIENT_BASED_GEOLOCATION.
- scoped_ptr<GeolocationDispatcherOld> geolocation_dispatcher_;
-#endif
// Handles accessibility requests into the renderer side, as well as
// maintains the cache and other features of the accessibility tree.

Powered by Google App Engine
This is Rietveld 408576698