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

Unified Diff: content/browser/renderer_host/render_process_host_impl.h

Issue 176963016: Chromium plumbing for Screen Orientation API orientationchange events. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 6 years, 10 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/browser/renderer_host/render_process_host_impl.h
diff --git a/content/browser/renderer_host/render_process_host_impl.h b/content/browser/renderer_host/render_process_host_impl.h
index 943fd5fa53493c2ff809859d3b8de70db67e1c04..b2e5db6473d9d9a6c6ccfcaf3f080dfb4f19f673 100644
--- a/content/browser/renderer_host/render_process_host_impl.h
+++ b/content/browser/renderer_host/render_process_host_impl.h
@@ -47,6 +47,7 @@ class RenderWidgetHelper;
class RenderWidgetHost;
class RenderWidgetHostImpl;
class RenderWidgetHostViewFrameSubscriber;
+class ScreenOrientationDispatcherHost;
class StoragePartition;
class StoragePartitionImpl;
@@ -172,6 +173,9 @@ class CONTENT_EXPORT RenderProcessHostImpl
void WebRtcLogMessage(const std::string& message);
#endif
+ scoped_refptr<ScreenOrientationDispatcherHost>
+ screen_orientation_dispatcher_host() const;
+
// Register/unregister the host identified by the host id in the global host
// list.
static void RegisterHost(int host_id, RenderProcessHost* host);
@@ -411,6 +415,9 @@ class CONTENT_EXPORT RenderProcessHostImpl
// Lives on the browser's ChildThread.
base::WeakPtrFactory<RenderProcessHostImpl> weak_factory_;
+ // Message filter and dispatcher for screen orientation.
+ ScreenOrientationDispatcherHost* screen_orientation_dispatcher_host_;
+
DISALLOW_COPY_AND_ASSIGN(RenderProcessHostImpl);
};
« no previous file with comments | « content/browser/android/content_view_core_impl.cc ('k') | content/browser/renderer_host/render_process_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698