| 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 171 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 182 // moved down into RenderFrameProxyHost::RouteMessageEvent when <webview> | 182 // moved down into RenderFrameProxyHost::RouteMessageEvent when <webview> |
| 183 // refactoring for --site-per-process mode is further along. See | 183 // refactoring for --site-per-process mode is further along. See |
| 184 // https://crbug.com/330264. | 184 // https://crbug.com/330264. |
| 185 virtual void EnsureOpenerProxiesExist(RenderFrameHost* source_rfh) {} | 185 virtual void EnsureOpenerProxiesExist(RenderFrameHost* source_rfh) {} |
| 186 | 186 |
| 187 // Creates a WebUI object for a frame navigating to |url|. If no WebUI | 187 // Creates a WebUI object for a frame navigating to |url|. If no WebUI |
| 188 // applies, returns null. | 188 // applies, returns null. |
| 189 virtual std::unique_ptr<WebUIImpl> CreateWebUIForRenderFrameHost( | 189 virtual std::unique_ptr<WebUIImpl> CreateWebUIForRenderFrameHost( |
| 190 const GURL& url); | 190 const GURL& url); |
| 191 | 191 |
| 192 // Notifies that mixed-content was displayed or ran within the container |
| 193 // WebContents. |
| 194 virtual void DidDisplayInsecureContent() {} |
| 195 virtual void DidRunInsecureContent(const GURL& security_origin, |
| 196 const GURL& target_url) {} |
| 197 |
| 192 protected: | 198 protected: |
| 193 virtual ~RenderFrameHostDelegate() {} | 199 virtual ~RenderFrameHostDelegate() {} |
| 194 }; | 200 }; |
| 195 | 201 |
| 196 } // namespace content | 202 } // namespace content |
| 197 | 203 |
| 198 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_DELEGATE_H_ | 204 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_DELEGATE_H_ |
| OLD | NEW |