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

Unified Diff: third_party/WebKit/Source/web/WebViewFrameWidget.cpp

Issue 1565893004: Sets a transparent background for out-of-process subframes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: compile Created 4 years, 10 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
« no previous file with comments | « third_party/WebKit/Source/web/WebViewFrameWidget.h ('k') | third_party/WebKit/Source/web/WebViewImpl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/web/WebViewFrameWidget.cpp
diff --git a/third_party/WebKit/Source/web/WebViewFrameWidget.cpp b/third_party/WebKit/Source/web/WebViewFrameWidget.cpp
index 2a60f158c8ef0c08b00595d22d4dea442d4549bd..86f9d4b36074d643be90fcbf7155d00028bb2097 100644
--- a/third_party/WebKit/Source/web/WebViewFrameWidget.cpp
+++ b/third_party/WebKit/Source/web/WebViewFrameWidget.cpp
@@ -265,6 +265,21 @@ void WebViewFrameWidget::setVisibilityState(WebPageVisibilityState visibilitySta
return m_webView->setVisibilityState(visibilityState, isInitialState);
}
+void WebViewFrameWidget::setIsTransparent(bool isTransparent)
+{
+ m_webView->setIsTransparent(isTransparent);
+}
+
+bool WebViewFrameWidget::isTransparent() const
+{
+ return m_webView->isTransparent();
+}
+
+void WebViewFrameWidget::setBaseBackgroundColor(WebColor color)
+{
+ m_webView->setBaseBackgroundColor(color);
+}
+
void WebViewFrameWidget::scheduleAnimation()
{
m_webView->scheduleAnimation();
« no previous file with comments | « third_party/WebKit/Source/web/WebViewFrameWidget.h ('k') | third_party/WebKit/Source/web/WebViewImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698