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

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

Issue 239963002: Android: Move scheduling logic to CompositorImpl (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 8 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/compositor_client.h
diff --git a/content/public/browser/android/compositor_client.h b/content/public/browser/android/compositor_client.h
index d835de199d7fa58adb8722e9956602b28b2c575c..d12bd783999c80e56020fca4063625df43cb8e79 100644
--- a/content/public/browser/android/compositor_client.h
+++ b/content/public/browser/android/compositor_client.h
@@ -11,11 +11,8 @@ namespace content {
class CONTENT_EXPORT CompositorClient {
public:
- // Tells the client that it should schedule a composite.
- virtual void ScheduleComposite() = 0;
-
- // The compositor has completed swapping a frame.
- virtual void OnSwapBuffersCompleted() {}
+ // Gives the client a chance for layout changes before compositing.
+ virtual void Layout() {}
// The compositor will eventually swap a frame.
virtual void OnSwapBuffersPosted() {}

Powered by Google App Engine
This is Rietveld 408576698