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

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

Issue 2810813004: Hide fullscreen rotation jank (Closed)
Patch Set: Clear thumbnail cache instead of hiding static layer. Break out results of changing fullscreen stat… 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..74d53c48fd2eeaf3448de19826b074ea1aaac5d1 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 SceneLayer.
Khushal 2017/06/23 03:09:51 nit: There is no scene layer here. "color of the c
steimel 2017/06/29 00:38:51 Done.
+ 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