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

Unified Diff: third_party/WebKit/Source/platform/testing/WebLayerTreeViewImplForTesting.cpp

Issue 2527093003: Improve Fullscreen unit tests (Closed)
Patch Set: Created 4 years, 1 month 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: third_party/WebKit/Source/platform/testing/WebLayerTreeViewImplForTesting.cpp
diff --git a/third_party/WebKit/Source/platform/testing/WebLayerTreeViewImplForTesting.cpp b/third_party/WebKit/Source/platform/testing/WebLayerTreeViewImplForTesting.cpp
index 9bcb43fdd6903cd4ba709123d5faf441914da313..3efed653e3615b873d049635c54fb72b43747f9d 100644
--- a/third_party/WebKit/Source/platform/testing/WebLayerTreeViewImplForTesting.cpp
+++ b/third_party/WebKit/Source/platform/testing/WebLayerTreeViewImplForTesting.cpp
@@ -104,6 +104,10 @@ void WebLayerTreeViewImplForTesting::setBackgroundColor(WebColor color) {
m_layerTreeHost->GetLayerTree()->set_background_color(color);
}
+bool WebLayerTreeViewImplForTesting::hasTransparentBackground() {
+ return m_layerTreeHost->GetLayerTree()->has_transparent_background();
+}
+
void WebLayerTreeViewImplForTesting::setHasTransparentBackground(
bool transparent) {
m_layerTreeHost->GetLayerTree()->set_has_transparent_background(transparent);

Powered by Google App Engine
This is Rietveld 408576698