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

Unified Diff: content/browser/web_contents/web_contents_impl.h

Issue 2797473005: Fix interstitials on OOPIF-based guests. (Closed)
Patch Set: null check webcontents Created 3 years, 8 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/web_contents/web_contents_impl.h
diff --git a/content/browser/web_contents/web_contents_impl.h b/content/browser/web_contents/web_contents_impl.h
index 4442c56315ee22648def0f07bb2ec6383d4a369c..c0473f802e9b94995844b36505c3038c831ec958 100644
--- a/content/browser/web_contents/web_contents_impl.h
+++ b/content/browser/web_contents/web_contents_impl.h
@@ -837,6 +837,14 @@ class CONTENT_EXPORT WebContentsImpl
// that the guest will be destroyed.
void BrowserPluginGuestWillDestroy();
+ // When inner or outer WebContents are present, become the focused
+ // WebContentsImpl. This will activate this content's main frame RenderWidget
+ // and indirectly all its subframe widgets. GetFocusedRenderWidgetHost will
+ // search this WebContentsImpl for a focused RenderWidgetHost. The previously
+ // focused WebContentsImpl, if any, will have its RenderWidgetHosts
+ // deactivated.
+ void SetAsFocusedWebContentsIfNecessary();
+
#if defined(OS_ANDROID)
// Called by FindRequestManager when all of the find match rects are in.
void NotifyFindMatchRectsReply(int version,
@@ -1120,14 +1128,6 @@ class CONTENT_EXPORT WebContentsImpl
// focused WebContents.
bool ContainsOrIsFocusedWebContents();
- // When inner or outer WebContents are present, become the focused
- // WebContentsImpl. This will activate this content's main frame RenderWidget
- // and indirectly all its subframe widgets. GetFocusedRenderWidgetHost will
- // search this WebContentsImpl for a focused RenderWidgetHost. The previously
- // focused WebContentsImpl, if any, will have its RenderWidgetHosts
- // deactivated.
- void SetAsFocusedWebContentsIfNecessary();
-
// Returns the root of the WebContents tree.
WebContentsImpl* GetOutermostWebContents();

Powered by Google App Engine
This is Rietveld 408576698