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

Unified Diff: components/plugins/renderer/webview_plugin.cc

Issue 1991273003: Fire visibilityChange event on out-of-process iframes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: addressing comments Created 4 years, 6 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: components/plugins/renderer/webview_plugin.cc
diff --git a/components/plugins/renderer/webview_plugin.cc b/components/plugins/renderer/webview_plugin.cc
index 968ed150b44deff6e63b364327ce8b52663b2cd6..1e1e955567d70063a7083147f90c21402720c702 100644
--- a/components/plugins/renderer/webview_plugin.cc
+++ b/components/plugins/renderer/webview_plugin.cc
@@ -54,7 +54,7 @@ WebViewPlugin::WebViewPlugin(content::RenderView* render_view,
: content::RenderViewObserver(render_view),
delegate_(delegate),
container_(nullptr),
- web_view_(WebView::create(this)),
+ web_view_(WebView::create(this, blink::WebPageVisibilityStateVisible)),
finished_loading_(false),
focused_(false),
is_painting_(false),

Powered by Google App Engine
This is Rietveld 408576698