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

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

Issue 25040002: Enables fullscreen subtitle and media control from Blink (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@build_hack
Patch Set: rebased, let's go! Created 6 years, 11 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 eb0c96e6413539116aad6f9d0dd159e0e2ca2a94..0a96af555783a25f2c58dc31705976221cb564cd 100644
--- a/content/public/browser/android/compositor.h
+++ b/content/public/browser/android/compositor.h
@@ -61,6 +61,9 @@ class CONTENT_EXPORT Compositor {
// Set the output surface which the compositor renders into.
virtual void SetSurface(jobject surface) = 0;
+ // Tells the view tree to assume a transparent background when rendering.
+ virtual void SetHasTransparentBackground(bool flag) = 0;
+
// Attempts to composite and read back the result into the provided buffer.
// The buffer must be at least window width * height * 4 (RGBA) bytes large.
// The buffer is not modified if false is returned.

Powered by Google App Engine
This is Rietveld 408576698