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 205 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
216 virtual void DidChangeLoadProgress(double progress) {} | 216 virtual void DidChangeLoadProgress(double progress) {} |
217 | 217 |
218 // The RenderView set its opener to null, disowning it for the lifetime of | 218 // The RenderView set its opener to null, disowning it for the lifetime of |
219 // the window. | 219 // the window. |
220 virtual void DidDisownOpener(RenderViewHost* rvh) {} | 220 virtual void DidDisownOpener(RenderViewHost* rvh) {} |
221 | 221 |
222 // The RenderView has changed its frame hierarchy, so we need to update all | 222 // The RenderView has changed its frame hierarchy, so we need to update all |
223 // other renderers interested in this event. | 223 // other renderers interested in this event. |
224 virtual void DidUpdateFrameTree(RenderViewHost* rvh) {} | 224 virtual void DidUpdateFrameTree(RenderViewHost* rvh) {} |
225 | 225 |
| 226 // The name of a frame in the RenderView has changed. |
| 227 virtual void DidUpdateFrameName(RenderViewHost* rvh, |
| 228 int frame_id, |
| 229 bool is_top_level, |
| 230 const std::string& name) {} |
| 231 |
226 // The RenderView's main frame document element is ready. This happens when | 232 // The RenderView's main frame document element is ready. This happens when |
227 // the document has finished parsing. | 233 // the document has finished parsing. |
228 virtual void DocumentAvailableInMainFrame(RenderViewHost* render_view_host) {} | 234 virtual void DocumentAvailableInMainFrame(RenderViewHost* render_view_host) {} |
229 | 235 |
230 // The onload handler in the RenderView's main frame has completed. | 236 // The onload handler in the RenderView's main frame has completed. |
231 virtual void DocumentOnLoadCompletedInMainFrame( | 237 virtual void DocumentOnLoadCompletedInMainFrame( |
232 RenderViewHost* render_view_host, | 238 RenderViewHost* render_view_host, |
233 int32 page_id) {} | 239 int32 page_id) {} |
234 | 240 |
235 // The page wants to open a URL with the specified disposition. | 241 // The page wants to open a URL with the specified disposition. |
(...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
416 const MediaStreamRequest& request, | 422 const MediaStreamRequest& request, |
417 const MediaResponseCallback& callback) {} | 423 const MediaResponseCallback& callback) {} |
418 | 424 |
419 protected: | 425 protected: |
420 virtual ~RenderViewHostDelegate() {} | 426 virtual ~RenderViewHostDelegate() {} |
421 }; | 427 }; |
422 | 428 |
423 } // namespace content | 429 } // namespace content |
424 | 430 |
425 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ | 431 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ |
OLD | NEW |