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

Side by Side 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 unified diff | Download patch
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_DELEGATE_H_ 5 #ifndef CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_DELEGATE_H_
6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_DELEGATE_H_ 6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_DELEGATE_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <string> 10 #include <string>
(...skipping 206 matching lines...) Expand 10 before | Expand all | Expand 10 after
217 // special case for <webview> guests, but this logic should eventually be 217 // special case for <webview> guests, but this logic should eventually be
218 // moved down into RenderFrameProxyHost::RouteMessageEvent when <webview> 218 // moved down into RenderFrameProxyHost::RouteMessageEvent when <webview>
219 // refactoring for --site-per-process mode is further along. See 219 // refactoring for --site-per-process mode is further along. See
220 // https://crbug.com/330264. 220 // https://crbug.com/330264.
221 virtual void EnsureOpenerProxiesExist(RenderFrameHost* source_rfh) {} 221 virtual void EnsureOpenerProxiesExist(RenderFrameHost* source_rfh) {}
222 222
223 // Set the |node| frame as focused in the current FrameTree as well as 223 // Set the |node| frame as focused in the current FrameTree as well as
224 // possibly changing focus in distinct but related inner/outer WebContents. 224 // possibly changing focus in distinct but related inner/outer WebContents.
225 virtual void SetFocusedFrame(FrameTreeNode* node, SiteInstance* source) {} 225 virtual void SetFocusedFrame(FrameTreeNode* node, SiteInstance* source) {}
226 226
227 // 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,
228 // is currently focused.
229 virtual RenderFrameHost* GetFrameAtNode(FrameTreeNode* tree_node);
230
227 // Creates a WebUI object for a frame navigating to |url|. If no WebUI 231 // Creates a WebUI object for a frame navigating to |url|. If no WebUI
228 // applies, returns null. 232 // applies, returns null.
229 virtual std::unique_ptr<WebUIImpl> CreateWebUIForRenderFrameHost( 233 virtual std::unique_ptr<WebUIImpl> CreateWebUIForRenderFrameHost(
230 const GURL& url); 234 const GURL& url);
231 235
232 // Called by |frame| to notify that it has received an update on focused 236 // Called by |frame| to notify that it has received an update on focused
233 // element. |bounds_in_root_view| is the rectangle containing the element that 237 // element. |bounds_in_root_view| is the rectangle containing the element that
234 // is focused and is with respect to root frame's RenderWidgetHost's 238 // is focused and is with respect to root frame's RenderWidgetHost's
235 // coordinate space. 239 // coordinate space.
236 virtual void OnFocusedElementChangedInFrame( 240 virtual void OnFocusedElementChangedInFrame(
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
275 const gfx::Rect& initial_rect, 279 const gfx::Rect& initial_rect,
276 bool user_gesture) {} 280 bool user_gesture) {}
277 281
278 protected: 282 protected:
279 virtual ~RenderFrameHostDelegate() {} 283 virtual ~RenderFrameHostDelegate() {}
280 }; 284 };
281 285
282 } // namespace content 286 } // namespace content
283 287
284 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_DELEGATE_H_ 288 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_DELEGATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698