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