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 e6fe43f9736f9c9de064b0da1a81e968666c1a31..8f7661f8e1673f6798a458ac95f7eb80520ca0a8 100644 |
--- a/content/browser/web_contents/web_contents_impl.h |
+++ b/content/browser/web_contents/web_contents_impl.h |
@@ -536,6 +536,7 @@ class CONTENT_EXPORT WebContentsImpl |
std::unique_ptr<WebUIImpl> CreateWebUIForRenderFrameHost( |
const GURL& url) override; |
void SetFocusedFrame(FrameTreeNode* node, SiteInstance* source) override; |
+ RenderFrameHost* GetFocusedFrameIncludingInnerWebContents() override; |
void OnFocusedElementChangedInFrame( |
RenderFrameHostImpl* frame, |
const gfx::Rect& bounds_in_root_view) override; |
@@ -1165,6 +1166,10 @@ class CONTENT_EXPORT WebContentsImpl |
// Returns the root of the WebContents tree. |
WebContentsImpl* GetOutermostWebContents(); |
+ // Walks up the outer WebContents chain and focuses the FrameTreeNode where |
+ // each inner WebContents is attached. |
+ void FocusOuterAttachmentFrameChain(); |
+ |
// Navigation helpers -------------------------------------------------------- |
// |
// These functions are helpers for Navigate() and DidNavigate(). |