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

Unified Diff: android_webview/browser/browser_view_renderer.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 | « no previous file | android_webview/browser/browser_view_renderer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: android_webview/browser/browser_view_renderer.h
diff --git a/android_webview/browser/browser_view_renderer.h b/android_webview/browser/browser_view_renderer.h
index 869495f129e40516c36a2b64a95d99b0c8a0c083..6738e1bff5d6010ea835bd96e390fed651701ffe 100644
--- a/android_webview/browser/browser_view_renderer.h
+++ b/android_webview/browser/browser_view_renderer.h
@@ -16,6 +16,7 @@
#include "base/callback.h"
#include "base/cancelable_callback.h"
#include "base/macros.h"
+#include "base/memory/ref_counted.h"
#include "base/trace_event/trace_event.h"
#include "content/public/browser/android/synchronous_compositor.h"
#include "content/public/browser/android/synchronous_compositor_client.h"
@@ -130,8 +131,9 @@ class BrowserViewRenderer : public content::SynchronousCompositorClient,
const gfx::Vector2dF& latest_overscroll_delta,
const gfx::Vector2dF& current_fling_velocity) override;
ui::TouchHandleDrawable* CreateDrawable() override;
- void OnDrawHardwareProcessFrame(
- content::SynchronousCompositor::Frame frame) override;
+ void OnDrawHardwareProcessFrameFuture(
+ const scoped_refptr<content::SynchronousCompositor::FrameFuture>&
+ frame_future) override;
// CompositorFrameProducer overrides
void OnParentDrawConstraintsUpdated(
« no previous file with comments | « no previous file | android_webview/browser/browser_view_renderer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698