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

Unified Diff: webkit/glue/webpreferences.cc

Issue 460020: Add command line flag and associated prefs to allow run-time enable of geoloc... (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 11 years 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
« no previous file with comments | « webkit/glue/webpreferences.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/webpreferences.cc
===================================================================
--- webkit/glue/webpreferences.cc (revision 33809)
+++ webkit/glue/webpreferences.cc (working copy)
@@ -84,6 +84,10 @@
// and support is compiled in.
settings->setExperimentalWebGLEnabled(experimental_webgl_enabled);
+ // Enable geolocation support if requested on command line and support is
+ // compiled in.
+ settings->setGeolocationEnabled(geolocation_enabled);
+
// Web inspector settings need to be passed in differently.
web_view->setInspectorSettings(WebString::fromUTF8(inspector_settings));
« no previous file with comments | « webkit/glue/webpreferences.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698