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

Unified Diff: ui/android/delegated_frame_host_android.h

Issue 2302023003: Set content opacity of DFHAndroid surfacelayer based on renderer frame contents. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: modify background color 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
Index: ui/android/delegated_frame_host_android.h
diff --git a/ui/android/delegated_frame_host_android.h b/ui/android/delegated_frame_host_android.h
index f56cb54f0c37a26e70d1238506a73aeb903de73d..1efe4a04ea17e01c798b8cc9a0ad668814785564 100644
--- a/ui/android/delegated_frame_host_android.h
+++ b/ui/android/delegated_frame_host_android.h
@@ -62,8 +62,6 @@ class UI_ANDROID_EXPORT DelegatedFrameHostAndroid
void UpdateBackgroundColor(SkColor color);
- void SetContentsOpaque(bool opaque);
-
void UpdateContainerSizeinDIP(const gfx::Size& size_in_dip);
private:
@@ -92,6 +90,7 @@ class UI_ANDROID_EXPORT DelegatedFrameHostAndroid
float bottom_controls_height;
float bottom_controls_shown_ratio;
cc::Selection<gfx::SelectionBound> viewport_selection;
+ bool has_transparent_background;
};
std::unique_ptr<FrameData> current_frame_;

Powered by Google App Engine
This is Rietveld 408576698