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

Unified Diff: content/renderer/geolocation_dispatcher.h

Issue 1771743002: Move geolocation and permission mojoms into WebKit/public/platform. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 9 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
« no previous file with comments | « content/public/common/permission_status.mojom ('k') | content/renderer/geolocation_dispatcher.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/geolocation_dispatcher.h
diff --git a/content/renderer/geolocation_dispatcher.h b/content/renderer/geolocation_dispatcher.h
index e9cce388cb5a4c3856c976f0b1ebd9b2854644ba..71766be04a0d912fc2196bfc483dae16c97cccf1 100644
--- a/content/renderer/geolocation_dispatcher.h
+++ b/content/renderer/geolocation_dispatcher.h
@@ -6,9 +6,9 @@
#define CONTENT_RENDERER_GEOLOCATION_DISPATCHER_H_
#include "base/memory/scoped_ptr.h"
-#include "content/common/geolocation_service.mojom.h"
-#include "content/common/permission_service.mojom.h"
#include "content/public/renderer/render_frame_observer.h"
+#include "third_party/WebKit/public/platform/modules/geolocation/geolocation.mojom.h"
+#include "third_party/WebKit/public/platform/modules/permissions/permission.mojom.h"
#include "third_party/WebKit/public/web/WebGeolocationClient.h"
#include "third_party/WebKit/public/web/WebGeolocationController.h"
@@ -45,19 +45,19 @@ class GeolocationDispatcher
const blink::WebGeolocationPermissionRequest& permissionRequest) override;
void QueryNextPosition();
- void OnPositionUpdate(mojom::MojoGeopositionPtr geoposition);
+ void OnPositionUpdate(blink::mojom::GeopositionPtr geoposition);
// Permission for using geolocation has been set.
void OnPermissionSet(int permission_request_id,
- mojom::PermissionStatus status);
+ blink::mojom::PermissionStatus status);
scoped_ptr<blink::WebGeolocationController> controller_;
scoped_ptr<blink::WebGeolocationPermissionRequestManager>
pending_permissions_;
- mojom::GeolocationServicePtr geolocation_service_;
+ blink::mojom::GeolocationServicePtr geolocation_service_;
bool enable_high_accuracy_;
- mojom::PermissionServicePtr permission_service_;
+ blink::mojom::PermissionServicePtr permission_service_;
};
} // namespace content
« no previous file with comments | « content/public/common/permission_status.mojom ('k') | content/renderer/geolocation_dispatcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698