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

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: 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 e60501a1abdee6f15576ae23113cf4330ff46379..099104df1b23e8408704ce1c28411d539346e453 100644
--- a/components/plugins/renderer/webview_plugin.cc
+++ b/components/plugins/renderer/webview_plugin.cc
@@ -56,7 +56,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),
« no previous file with comments | « chrome/renderer/prerender/prerender_helper.cc ('k') | components/printing/renderer/print_web_view_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698