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 207 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
218 const GURL& url); | 218 const GURL& url); |
219 | 219 |
220 // Called by |frame| to notify that it has received an update on focused | 220 // Called by |frame| to notify that it has received an update on focused |
221 // element. |bounds_in_root_view| is the rectangle containing the element that | 221 // element. |bounds_in_root_view| is the rectangle containing the element that |
222 // is focused and is with respect to root frame's RenderWidgetHost's | 222 // is focused and is with respect to root frame's RenderWidgetHost's |
223 // coordinate space. | 223 // coordinate space. |
224 virtual void OnFocusedElementChangedInFrame( | 224 virtual void OnFocusedElementChangedInFrame( |
225 RenderFrameHostImpl* frame, | 225 RenderFrameHostImpl* frame, |
226 const gfx::Rect& bounds_in_root_view) {} | 226 const gfx::Rect& bounds_in_root_view) {} |
227 | 227 |
| 228 // Notifies that mixed-content was displayed or ran within the container |
| 229 // WebContents. |
| 230 virtual void DidDisplayInsecureContent() {} |
| 231 virtual void DidRunInsecureContent(const GURL& security_origin, |
| 232 const GURL& target_url) {} |
| 233 |
228 protected: | 234 protected: |
229 virtual ~RenderFrameHostDelegate() {} | 235 virtual ~RenderFrameHostDelegate() {} |
230 }; | 236 }; |
231 | 237 |
232 } // namespace content | 238 } // namespace content |
233 | 239 |
234 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_DELEGATE_H_ | 240 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_DELEGATE_H_ |
OLD | NEW |