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

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

Issue 2347563003: Added FrameFuture class (Closed)
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_client.h
diff --git a/content/public/browser/android/synchronous_compositor_client.h b/content/public/browser/android/synchronous_compositor_client.h
index fe4e41caa54c68afff35466a0643c7f79623995d..503e49f85973f839044178b81b2170621ff26ba6 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"
@@ -56,7 +57,8 @@ class SynchronousCompositorClient {
virtual ui::TouchHandleDrawable* CreateDrawable() = 0;
virtual void OnDrawHardwareProcessFrame(
- content::SynchronousCompositor::Frame frame) = 0;
+ scoped_refptr<content::SynchronousCompositor::FrameFuture>
+ frame_future) = 0;
protected:
SynchronousCompositorClient() {}

Powered by Google App Engine
This is Rietveld 408576698