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

Unified Diff: ui/views/controls/webview/webview.h

Issue 1731373002: Allow to have a transparent UA dependent background. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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 | « content/public/common/content_switches.cc ('k') | ui/views/controls/webview/webview.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/controls/webview/webview.h
diff --git a/ui/views/controls/webview/webview.h b/ui/views/controls/webview/webview.h
index 9ff7c7f6091ac38865ed7da840fe92bb111d9f3c..c44ce43404ce1c0ef47ce5674a51a9960440f00b 100644
--- a/ui/views/controls/webview/webview.h
+++ b/ui/views/controls/webview/webview.h
@@ -115,6 +115,7 @@ class WEBVIEW_EXPORT WebView : public View,
void GetAccessibleState(ui::AXViewState* state) override;
gfx::NativeViewAccessible GetNativeViewAccessible() override;
gfx::Size GetPreferredSize() const override;
+ void OnPaintBackground(gfx::Canvas* canvas);
// Overridden from content::RenderProcessHostObserver:
void RenderProcessExited(content::RenderProcessHost* host,
« no previous file with comments | « content/public/common/content_switches.cc ('k') | ui/views/controls/webview/webview.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698