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

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

Issue 2797473005: Fix interstitials on OOPIF-based guests. (Closed)
Patch Set: rebase 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 f66055cff8398593bdb3c30a186c74681d1a76f1..5a621c32adb4b39566006e10f588efde2b39d2f2 100644
--- a/content/browser/web_contents/web_contents_impl.h
+++ b/content/browser/web_contents/web_contents_impl.h
@@ -812,6 +812,14 @@ class CONTENT_EXPORT WebContentsImpl
// |IsFullscreen| must return |true| when this method is called.
bool HasActiveEffectivelyFullscreenVideo() const;
+ // 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,
@@ -1089,14 +1097,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