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

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

Issue 2810813004: Hide fullscreen rotation jank (Closed)
Patch Set: Re-add feature flag Created 3 years, 6 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.h
diff --git a/content/public/browser/android/compositor.h b/content/public/browser/android/compositor.h
index 02f188645bed7a4a1c6cf18a6628d34795bebc07..1967caa3a96d60bda8e7fad23ff82c5d16972901 100644
--- a/content/public/browser/android/compositor.h
+++ b/content/public/browser/android/compositor.h
@@ -71,6 +71,9 @@ class CONTENT_EXPORT Compositor {
// Tells the view tree to assume a transparent background when rendering.
virtual void SetHasTransparentBackground(bool flag) = 0;
+ // Sets the background color of the compositor.
+ virtual void SetBackgroundColor(int color) = 0;
+
// Request layout and draw. You only need to call this if you need to trigger
// Composite *without* having modified the layer tree.
virtual void SetNeedsComposite() = 0;

Powered by Google App Engine
This is Rietveld 408576698