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

Unified Diff: content/public/browser/android/synchronous_compositor.h

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/public/browser/android/synchronous_compositor.h
diff --git a/content/public/browser/android/synchronous_compositor.h b/content/public/browser/android/synchronous_compositor.h
index a4d5b40e91edb64c96fc6df5772c0a8f946d5b65..b6e9f1f8cabaeb5113f2fadd5312574e63575e6b 100644
--- a/content/public/browser/android/synchronous_compositor.h
+++ b/content/public/browser/android/synchronous_compositor.h
@@ -81,7 +81,8 @@ class CONTENT_EXPORT SynchronousCompositor {
// |viewport_size| is the current size to improve results during resize.
// |viewport_rect_for_tile_priority| and |transform_for_tile_priority| are
// used to customize the tiling decisions of compositor.
- virtual Frame DemandDrawHw(
+ // TODO(ojars): update this and the next documentation
+ virtual SynchronousCompositor::Frame DemandDrawHw(
const gfx::Size& viewport_size,
const gfx::Rect& viewport_rect_for_tile_priority,
const gfx::Transform& transform_for_tile_priority) = 0;
@@ -89,7 +90,7 @@ class CONTENT_EXPORT SynchronousCompositor {
// Same as DemandDrawHw, but uses asynchronous IPC messages. Calls
// SynchronousCompositorClient::OnDrawHardwareProcessFrame to return the
// frame.
- virtual void DemandDrawHwAsync(
+ virtual scoped_refptr<SynchronousCompositor::FrameFuture> DemandDrawHwAsync(
const gfx::Size& viewport_size,
const gfx::Rect& viewport_rect_for_tile_priority,
const gfx::Transform& transform_for_tile_priority) = 0;
« no previous file with comments | « content/browser/renderer_host/render_process_host_impl.cc ('k') | content/public/browser/render_process_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698