OLD | NEW |
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 <vector> | 10 #include <vector> |
(...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
179 // special case for <webview> guests, but this logic should eventually be | 179 // special case for <webview> guests, but this logic should eventually be |
180 // moved down into RenderFrameProxyHost::RouteMessageEvent when <webview> | 180 // moved down into RenderFrameProxyHost::RouteMessageEvent when <webview> |
181 // refactoring for --site-per-process mode is further along. See | 181 // refactoring for --site-per-process mode is further along. See |
182 // https://crbug.com/330264. | 182 // https://crbug.com/330264. |
183 virtual void EnsureOpenerProxiesExist(RenderFrameHost* source_rfh) {} | 183 virtual void EnsureOpenerProxiesExist(RenderFrameHost* source_rfh) {} |
184 | 184 |
185 // Creates a WebUI object for a frame navigating to |url|. If no WebUI | 185 // Creates a WebUI object for a frame navigating to |url|. If no WebUI |
186 // applies, returns null. | 186 // applies, returns null. |
187 virtual scoped_ptr<WebUIImpl> CreateWebUIForRenderFrameHost(const GURL& url); | 187 virtual scoped_ptr<WebUIImpl> CreateWebUIForRenderFrameHost(const GURL& url); |
188 | 188 |
189 #if defined(OS_WIN) | |
190 // Returns the frame's parent's NativeViewAccessible. | |
191 virtual gfx::NativeViewAccessible GetParentNativeViewAccessible(); | |
192 #endif | |
193 | |
194 protected: | 189 protected: |
195 virtual ~RenderFrameHostDelegate() {} | 190 virtual ~RenderFrameHostDelegate() {} |
196 }; | 191 }; |
197 | 192 |
198 } // namespace content | 193 } // namespace content |
199 | 194 |
200 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_DELEGATE_H_ | 195 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_DELEGATE_H_ |
OLD | NEW |