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

Unified Diff: content/browser/browser_plugin/browser_plugin_guest.cc

Issue 2715213009: Re-enable FocusBeforeNavigation test. (Closed)
Patch Set: Created 3 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: content/browser/browser_plugin/browser_plugin_guest.cc
diff --git a/content/browser/browser_plugin/browser_plugin_guest.cc b/content/browser/browser_plugin/browser_plugin_guest.cc
index 7b85e5440000e37d4a0baa8b7e431a93a5cbc7a6..41f968153d1fc754f3adfb2719da70a363951eb8 100644
--- a/content/browser/browser_plugin/browser_plugin_guest.cc
+++ b/content/browser/browser_plugin/browser_plugin_guest.cc
@@ -659,6 +659,9 @@ void BrowserPluginGuest::DidFinishNavigation(
}
void BrowserPluginGuest::RenderViewReady() {
+ if (GuestMode::IsCrossProcessFrameGuest(GetWebContents()))
alexmos 2017/03/04 01:12:16 I'll defer to James or Lucas here, but in the CL d
wjmaclean 2017/03/14 16:13:37 I'm not sure I follow: in WebView+OOPIF mode aren'
alexmos 2017/03/15 00:16:07 Right, so my question is, if we are in webview+OOP
avallee 2017/03/15 02:55:20 We definitely need to skip the SetFocus message si
alexmos 2017/03/15 04:25:03 Ack. The hung_renderer_delay also seems like it's
+ return;
+
RenderViewHost* rvh = GetWebContents()->GetRenderViewHost();
// TODO(fsamuel): Investigate whether it's possible to update state earlier
// here (see http://crbug.com/158151).

Powered by Google App Engine
This is Rietveld 408576698