summaryrefslogtreecommitdiffstats
path: root/chrome/chrome_renderer.gypi
diff options
context:
space:
mode:
authorjknotten@chromium.org <jknotten@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-12-14 17:45:50 +0000
committerjknotten@chromium.org <jknotten@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-12-14 17:45:50 +0000
commitffd0abdc00f3c8e8e711d86c8633976db3963f42 (patch)
tree0f8e55a221d3eaa3f18af47b61dae31c078890b3 /chrome/chrome_renderer.gypi
parent52dd1112a84d627fa45b7c5051f14b5b118f5a83 (diff)
downloadchromium_src-ffd0abdc00f3c8e8e711d86c8633976db3963f42.zip
chromium_src-ffd0abdc00f3c8e8e711d86c8633976db3963f42.tar.gz
chromium_src-ffd0abdc00f3c8e8e711d86c8633976db3963f42.tar.bz2
Client-based geolocation support.
Add in support for client-based geolocation in WebKit. Default to disabled (ENABLE_CLIENT_BASED_GEOLOCATION=0) in features_override.gypi until all the WebKit patches (see https://bugs.webkit.org/show_bug.cgi?id=45752) have landed. When we switch over to client-based geolocation, we should remove the old non-client-based geolocation code. BUG=55907 Review URL: http://codereview.chromium.org/5612005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69156 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/chrome_renderer.gypi')
-rw-r--r--chrome/chrome_renderer.gypi10
1 files changed, 10 insertions, 0 deletions
diff --git a/chrome/chrome_renderer.gypi b/chrome/chrome_renderer.gypi
index 87889aa..2a69cd7 100644
--- a/chrome/chrome_renderer.gypi
+++ b/chrome/chrome_renderer.gypi
@@ -112,6 +112,8 @@
'renderer/external_extension.h',
'renderer/form_manager.cc',
'renderer/form_manager.h',
+ 'renderer/geolocation_dispatcher.cc',
+ 'renderer/geolocation_dispatcher.h',
'renderer/geolocation_dispatcher_old.cc',
'renderer/geolocation_dispatcher_old.h',
'renderer/gpu_channel_host.cc',
@@ -312,6 +314,14 @@
'renderer/command_buffer_proxy.h',
],
}],
+ # We are migrating to client-based geolocation. Once the migration
+ # has finished, ENABLE_CLIENT_BASED_GEOLOCATION will disappear.
+ # See bugs:
+ # https://bugs.webkit.org/show_bug.cgi?id=45752 and
+ # http://code.google.com/p/chromium/issues/detail?id=59907
+ ['"ENABLE_CLIENT_BASED_GEOLOCATION=1" in feature_defines', {
+ 'defines': [ 'ENABLE_CLIENT_BASED_GEOLOCATION=1' ]
+ }],
],
},
{