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

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

Issue 2347563003: Added FrameFuture class (Closed)
Patch Set: Code review 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/public/browser/android/synchronous_compositor.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/browser/android/synchronous_compositor_client.h
diff --git a/content/public/browser/android/synchronous_compositor_client.h b/content/public/browser/android/synchronous_compositor_client.h
index fe4e41caa54c68afff35466a0643c7f79623995d..8b7dc1ec8f4536fe63119c25164d542ec76aabb2 100644
--- a/content/public/browser/android/synchronous_compositor_client.h
+++ b/content/public/browser/android/synchronous_compositor_client.h
@@ -7,6 +7,7 @@
#include "base/callback_forward.h"
#include "base/macros.h"
+#include "base/memory/ref_counted.h"
#include "base/time/time.h"
#include "ui/gfx/geometry/size_f.h"
#include "ui/gfx/geometry/vector2d_f.h"
@@ -55,8 +56,9 @@ class SynchronousCompositorClient {
virtual ui::TouchHandleDrawable* CreateDrawable() = 0;
- virtual void OnDrawHardwareProcessFrame(
- content::SynchronousCompositor::Frame frame) = 0;
+ virtual void OnDrawHardwareProcessFrameFuture(
+ const scoped_refptr<content::SynchronousCompositor::FrameFuture>&
+ frame_future) = 0;
protected:
SynchronousCompositorClient() {}
« no previous file with comments | « content/public/browser/android/synchronous_compositor.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698