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

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

Issue 2294963002: Submit Compositor Frame from OffscreenCanvas on main (Closed)
Patch Set: a test to ensure resizing on transferred offscreencanvas has no effect 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
« no previous file with comments | « content/browser/renderer_host/offscreen_canvas_frame_receiver_impl.cc ('k') | content/content_browser.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 7a225cf71b03d35c77ce75c3c717b481640fabee..dc0db78f1ebefc36c6f4dbd7e932d4b09f06a82e 100644
--- a/content/browser/renderer_host/render_process_host_impl.cc
+++ b/content/browser/renderer_host/render_process_host_impl.cc
@@ -103,6 +103,7 @@
#include "content/browser/renderer_host/media/media_stream_dispatcher_host.h"
#include "content/browser/renderer_host/media/peer_connection_tracker_host.h"
#include "content/browser/renderer_host/media/video_capture_host.h"
+#include "content/browser/renderer_host/offscreen_canvas_frame_receiver_impl.h"
#include "content/browser/renderer_host/offscreen_canvas_surface_impl.h"
#include "content/browser/renderer_host/pepper/pepper_message_filter.h"
#include "content/browser/renderer_host/pepper/pepper_renderer_connection.h"
@@ -1209,6 +1210,8 @@ void RenderProcessHostImpl::RegisterMojoInterfaces() {
// TODO(mcasas): finalize arguments.
AddUIThreadInterface(registry.get(), base::Bind(&ImageCaptureImpl::Create));
AddUIThreadInterface(registry.get(),
+ base::Bind(&OffscreenCanvasFrameReceiverImpl::Create));
+ AddUIThreadInterface(registry.get(),
base::Bind(&OffscreenCanvasSurfaceImpl::Create));
AddUIThreadInterface(
registry.get(),
« no previous file with comments | « content/browser/renderer_host/offscreen_canvas_frame_receiver_impl.cc ('k') | content/content_browser.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698