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

Unified Diff: third_party/WebKit/Source/web/WebViewImpl.h

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
Index: third_party/WebKit/Source/web/WebViewImpl.h
diff --git a/third_party/WebKit/Source/web/WebViewImpl.h b/third_party/WebKit/Source/web/WebViewImpl.h
index 9858b0af43f68a4a574ad408f100b7ed12a97359..adab552e373778b42e54881fde347754a6ac81c7 100644
--- a/third_party/WebKit/Source/web/WebViewImpl.h
+++ b/third_party/WebKit/Source/web/WebViewImpl.h
@@ -168,9 +168,6 @@ public:
WebSettings* settings() override;
WebString pageEncoding() const override;
void setPageEncoding(const WebString&) override;
- bool isTransparent() const override;
- void setIsTransparent(bool value) override;
- void setBaseBackgroundColor(WebColor) override;
bool tabsToLinks() const override;
void setTabsToLinks(bool value) override;
bool tabKeyCyclesThroughElements() const override;
@@ -294,6 +291,7 @@ public:
void invalidateRect(const IntRect&);
void setIgnoreInputEvents(bool newValue);
+ void setBaseBackgroundColor(WebColor);
void setBackgroundColorOverride(WebColor);
void setZoomFactorOverride(float);
void updateShowFPSCounter();
@@ -537,6 +535,9 @@ public:
// Use in Slimming Paint v2 to update the layer tree for the content.
PaintArtifactCompositor& paintArtifactCompositor() { return m_paintArtifactCompositor; }
+ bool isTransparent() const;
+ void setIsTransparent(bool value);
+
private:
InspectorOverlay* inspectorOverlay();
« no previous file with comments | « third_party/WebKit/Source/web/WebViewFrameWidget.cpp ('k') | third_party/WebKit/Source/web/tests/WebViewTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698