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

Unified Diff: content/browser/frame_host/render_frame_host_delegate.h

Issue 2674353003: Enable WebViewAccessiblityTest for OOPIF webview. (Closed)
Patch Set: Accessiblity tree will search for inner web contents. 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/frame_host/render_frame_host_delegate.h
diff --git a/content/browser/frame_host/render_frame_host_delegate.h b/content/browser/frame_host/render_frame_host_delegate.h
index 77a62aac7bae4ac9e79fcfaa7e1c1e4136335836..c7704526fbba7d979276e52aeeb32eb6b4913468 100644
--- a/content/browser/frame_host/render_frame_host_delegate.h
+++ b/content/browser/frame_host/render_frame_host_delegate.h
@@ -224,6 +224,10 @@ class CONTENT_EXPORT RenderFrameHostDelegate {
// possibly changing focus in distinct but related inner/outer WebContents.
virtual void SetFocusedFrame(FrameTreeNode* node, SiteInstance* source) {}
+ // Gets the focused frame from possibly another inner WebContents that
dmazzoni 2017/02/16 00:19:02 The comment says "focused" but the name of the fun
avallee 2017/02/21 20:00:31 Done. Got a longer, more descriptive, name. Also,
+ // is currently focused.
+ virtual RenderFrameHost* GetFrameAtNode(FrameTreeNode* tree_node);
+
// Creates a WebUI object for a frame navigating to |url|. If no WebUI
// applies, returns null.
virtual std::unique_ptr<WebUIImpl> CreateWebUIForRenderFrameHost(

Powered by Google App Engine
This is Rietveld 408576698