From c57b93f1e66e06bbddb07348a2816aa4a7df1051 Mon Sep 17 00:00:00 2001 From: blundell Date: Wed, 29 Oct 2014 06:19:57 -0700 Subject: Partially convert geolocation IPC to Mojo. This CL converts the non-permissions-related geolocation IPC to Mojo. The Mojo GeolocationService interface allows clients to observe location updates. In //content, the service and its client connect on a per-frame basis, eliminating the need for the tracking of multiple frames that GeolocationDispatcherHost had previously been doing. To handle the fact that geolocation updates can be paused and resumed at per-WebContents granularity, we introduce a GeolocationServiceContext class, which is used to scope the granularity of pauses and resumes. Currently, GeolocationDispatcherHost still handles permissions-related geolocation IPC. This IPC will be moved to Mojo once there is resolution on what the right model for handling permissions there is. BUG=420497 TEST=Go to maps.google.com, allow location tracking, and check that your location is correctly pinpointed on the map. Committed: https://crrev.com/28e88081438dc08b06d5f05cfdd980c407db1638 Cr-Commit-Position: refs/heads/master@{#301604} Review URL: https://codereview.chromium.org/628773003 Cr-Commit-Position: refs/heads/master@{#301824} --- content/renderer/BUILD.gn | 1 + 1 file changed, 1 insertion(+) (limited to 'content/renderer/BUILD.gn') diff --git a/content/renderer/BUILD.gn b/content/renderer/BUILD.gn index feb8126..1bce262 100644 --- a/content/renderer/BUILD.gn +++ b/content/renderer/BUILD.gn @@ -31,6 +31,7 @@ source_set("renderer") { "//content/common:mojo_bindings", "//content/public/child:child_sources", "//content/public/common:common_sources", + "//content/public/common:mojo_bindings", "//device/battery:mojo_bindings", "//gin", "//gpu", -- cgit v1.1