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 251 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
262 // CreateNewWindow. | 262 // CreateNewWindow. |
263 // | 263 // |
264 // Note: this is not called "ShowWindow" because that will clash with | 264 // Note: this is not called "ShowWindow" because that will clash with |
265 // the Windows function which is actually a #define. | 265 // the Windows function which is actually a #define. |
266 virtual void ShowCreatedWindow(int process_id, | 266 virtual void ShowCreatedWindow(int process_id, |
267 int main_frame_widget_route_id, | 267 int main_frame_widget_route_id, |
268 WindowOpenDisposition disposition, | 268 WindowOpenDisposition disposition, |
269 const gfx::Rect& initial_rect, | 269 const gfx::Rect& initial_rect, |
270 bool user_gesture) {} | 270 bool user_gesture) {} |
271 | 271 |
| 272 // Notifies that mixed-content was displayed or ran within the container |
| 273 // WebContents. |
| 274 virtual void DidDisplayInsecureContent() {} |
| 275 virtual void DidRunInsecureContent(const GURL& security_origin, |
| 276 const GURL& target_url) {} |
| 277 |
272 protected: | 278 protected: |
273 virtual ~RenderFrameHostDelegate() {} | 279 virtual ~RenderFrameHostDelegate() {} |
274 }; | 280 }; |
275 | 281 |
276 } // namespace content | 282 } // namespace content |
277 | 283 |
278 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_DELEGATE_H_ | 284 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_DELEGATE_H_ |
OLD | NEW |