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

Unified Diff: extensions/renderer/scoped_web_frame.cc

Issue 1991273003: Fire visibilityChange event on out-of-process iframes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix android test+naming 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: extensions/renderer/scoped_web_frame.cc
diff --git a/extensions/renderer/scoped_web_frame.cc b/extensions/renderer/scoped_web_frame.cc
index 88c4098b5c33348f0773db33e396fdf0a980e353..4b4f4556f2eb362f728364b6d38e40d1888b27dc 100644
--- a/extensions/renderer/scoped_web_frame.cc
+++ b/extensions/renderer/scoped_web_frame.cc
@@ -9,7 +9,7 @@
namespace extensions {
ScopedWebFrame::ScopedWebFrame() : view_(nullptr), frame_(nullptr) {
- view_ = blink::WebView::create(nullptr);
+ view_ = blink::WebView::create(nullptr, true);
frame_ = blink::WebLocalFrame::create(
blink::WebTreeScopeType::Document, nullptr);
view_->setMainFrame(frame_);

Powered by Google App Engine
This is Rietveld 408576698