OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ |
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ | 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
(...skipping 197 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
208 virtual void DidStopLoading(RenderViewHost* render_view_host) {} | 208 virtual void DidStopLoading(RenderViewHost* render_view_host) {} |
209 | 209 |
210 // The pending page load was canceled. | 210 // The pending page load was canceled. |
211 virtual void DidCancelLoading() {} | 211 virtual void DidCancelLoading() {} |
212 | 212 |
213 // The RenderView made progress loading a page's top frame. | 213 // The RenderView made progress loading a page's top frame. |
214 // |progress| is a value between 0 (nothing loaded) to 1.0 (top frame | 214 // |progress| is a value between 0 (nothing loaded) to 1.0 (top frame |
215 // entirely loaded). | 215 // entirely loaded). |
216 virtual void DidChangeLoadProgress(double progress) {} | 216 virtual void DidChangeLoadProgress(double progress) {} |
217 | 217 |
| 218 // The RenderView has changed its frame hierarchy, so we need to update all |
| 219 // other renderers interested in this event. |
| 220 virtual void DidUpdateFrameTree(RenderViewHost* rvh) {} |
| 221 |
218 // The RenderView's main frame document element is ready. This happens when | 222 // The RenderView's main frame document element is ready. This happens when |
219 // the document has finished parsing. | 223 // the document has finished parsing. |
220 virtual void DocumentAvailableInMainFrame(RenderViewHost* render_view_host) {} | 224 virtual void DocumentAvailableInMainFrame(RenderViewHost* render_view_host) {} |
221 | 225 |
222 // The onload handler in the RenderView's main frame has completed. | 226 // The onload handler in the RenderView's main frame has completed. |
223 virtual void DocumentOnLoadCompletedInMainFrame( | 227 virtual void DocumentOnLoadCompletedInMainFrame( |
224 RenderViewHost* render_view_host, | 228 RenderViewHost* render_view_host, |
225 int32 page_id) {} | 229 int32 page_id) {} |
226 | 230 |
227 // The page wants to open a URL with the specified disposition. | 231 // The page wants to open a URL with the specified disposition. |
(...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
405 const MediaStreamRequest* request, | 409 const MediaStreamRequest* request, |
406 const MediaResponseCallback& callback) {} | 410 const MediaResponseCallback& callback) {} |
407 | 411 |
408 protected: | 412 protected: |
409 virtual ~RenderViewHostDelegate() {} | 413 virtual ~RenderViewHostDelegate() {} |
410 }; | 414 }; |
411 | 415 |
412 } // namespace content | 416 } // namespace content |
413 | 417 |
414 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ | 418 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ |
OLD | NEW |