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

Unified Diff: content/renderer/render_frame_impl.h

Issue 2391883006: Mojo-ify implementation of screen orientation locking/unlocking. (Closed)
Patch Set: Moved enum mojo definition to content/common due to dependency issue Created 4 years, 2 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: content/renderer/render_frame_impl.h
diff --git a/content/renderer/render_frame_impl.h b/content/renderer/render_frame_impl.h
index d6d774a5cab220266d5765585bd264d439653f0a..6eb9d03bc04ba80eccb00ed2b712ef8ff49ea363 100644
--- a/content/renderer/render_frame_impl.h
+++ b/content/renderer/render_frame_impl.h
@@ -27,6 +27,7 @@
#include "content/common/frame.mojom.h"
#include "content/common/frame_message_enums.h"
#include "content/common/renderer.mojom.h"
+#include "content/common/screen_orientation_service.mojom.h"
#include "content/public/common/console_message_level.h"
#include "content/public/common/javascript_message_type.h"
#include "content/public/common/referrer.h"
@@ -35,6 +36,7 @@
#include "content/renderer/frame_blame_context.h"
#include "content/renderer/mojo/blink_interface_provider_impl.h"
#include "content/renderer/renderer_webcookiejar_impl.h"
+#include "content/renderer/screen_orientation/screen_orientation_dispatcher.h"
#include "ipc/ipc_message.h"
#include "ipc/ipc_platform_file.h"
#include "media/blink/webmediaplayer_delegate.h"
@@ -1245,6 +1247,10 @@ class CONTENT_EXPORT RenderFrameImpl
// initialized.
ScreenOrientationDispatcher* screen_orientation_dispatcher_;
+ // Used to give a ScreenOrientationService* that is connected to the remote
+ // service to the dispatcher.
+ mojom::ScreenOrientationServicePtr screen_orientation_service_;
+
// The Manifest Manager handles the manifest requests from the browser
// process.
ManifestManager* manifest_manager_;

Powered by Google App Engine
This is Rietveld 408576698