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

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

Issue 2383933002: Added message filter receiving frames from compositor
Patch Set: Created 4 years, 3 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.cc
diff --git a/content/browser/renderer_host/render_process_host_impl.cc b/content/browser/renderer_host/render_process_host_impl.cc
index 75fd0257e7b46f220515340c45c6c17e2c0a0570..b273e3f75b632d89261d78ec2b6ba16e8e197fa0 100644
--- a/content/browser/renderer_host/render_process_host_impl.cc
+++ b/content/browser/renderer_host/render_process_host_impl.cc
@@ -1203,6 +1203,12 @@ void RenderProcessHostImpl::CreateMessageFilters() {
#if defined(OS_ANDROID)
AddFilter(new ScreenOrientationMessageFilterAndroid());
#endif
+ filter_ = new SynchronousCompositorObserver(GetID());
+ AddFilter(filter_);
+}
+
+SynchronousCompositorObserver* RenderProcessHostImpl::GetFilter() {
+ return filter_;
}
void RenderProcessHostImpl::RegisterMojoInterfaces() {
« no previous file with comments | « content/browser/renderer_host/render_process_host_impl.h ('k') | content/public/browser/android/synchronous_compositor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698