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 <string> | 10 #include <string> |
(...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
206 | 206 |
207 // Set the |node| frame as focused in the current FrameTree as well as | 207 // Set the |node| frame as focused in the current FrameTree as well as |
208 // possibly changing focus in distinct but related inner/outer WebContents. | 208 // possibly changing focus in distinct but related inner/outer WebContents. |
209 virtual void SetFocusedFrame(FrameTreeNode* node, SiteInstance* source) {} | 209 virtual void SetFocusedFrame(FrameTreeNode* node, SiteInstance* source) {} |
210 | 210 |
211 // Creates a WebUI object for a frame navigating to |url|. If no WebUI | 211 // Creates a WebUI object for a frame navigating to |url|. If no WebUI |
212 // applies, returns null. | 212 // applies, returns null. |
213 virtual std::unique_ptr<WebUIImpl> CreateWebUIForRenderFrameHost( | 213 virtual std::unique_ptr<WebUIImpl> CreateWebUIForRenderFrameHost( |
214 const GURL& url); | 214 const GURL& url); |
215 | 215 |
| 216 // Notifies that mixed-content was displayed or ran within the container |
| 217 // WebContents. |
| 218 virtual void DidDisplayInsecureContent() {} |
| 219 virtual void DidRunInsecureContent(const GURL& security_origin, |
| 220 const GURL& target_url) {} |
| 221 |
216 protected: | 222 protected: |
217 virtual ~RenderFrameHostDelegate() {} | 223 virtual ~RenderFrameHostDelegate() {} |
218 }; | 224 }; |
219 | 225 |
220 } // namespace content | 226 } // namespace content |
221 | 227 |
222 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_DELEGATE_H_ | 228 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_DELEGATE_H_ |
OLD | NEW |