| 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 201 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 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 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   // Another page accessed the initial empty document of this RenderView, | 
|  | 223   // which means it is no longer safe to display a pending URL without | 
|  | 224   // risking a URL spoof. | 
|  | 225   virtual void DidAccessInitialDocument() {} | 
|  | 226 | 
| 222   // The RenderView has changed its frame hierarchy, so we need to update all | 227   // The RenderView has changed its frame hierarchy, so we need to update all | 
| 223   // other renderers interested in this event. | 228   // other renderers interested in this event. | 
| 224   virtual void DidUpdateFrameTree(RenderViewHost* rvh) {} | 229   virtual void DidUpdateFrameTree(RenderViewHost* rvh) {} | 
| 225 | 230 | 
| 226   // The RenderView's main frame document element is ready. This happens when | 231   // The RenderView's main frame document element is ready. This happens when | 
| 227   // the document has finished parsing. | 232   // the document has finished parsing. | 
| 228   virtual void DocumentAvailableInMainFrame(RenderViewHost* render_view_host) {} | 233   virtual void DocumentAvailableInMainFrame(RenderViewHost* render_view_host) {} | 
| 229 | 234 | 
| 230   // The onload handler in the RenderView's main frame has completed. | 235   // The onload handler in the RenderView's main frame has completed. | 
| 231   virtual void DocumentOnLoadCompletedInMainFrame( | 236   virtual void DocumentOnLoadCompletedInMainFrame( | 
| (...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 416       const MediaStreamRequest& request, | 421       const MediaStreamRequest& request, | 
| 417       const MediaResponseCallback& callback) {} | 422       const MediaResponseCallback& callback) {} | 
| 418 | 423 | 
| 419  protected: | 424  protected: | 
| 420   virtual ~RenderViewHostDelegate() {} | 425   virtual ~RenderViewHostDelegate() {} | 
| 421 }; | 426 }; | 
| 422 | 427 | 
| 423 }  // namespace content | 428 }  // namespace content | 
| 424 | 429 | 
| 425 #endif  // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ | 430 #endif  // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ | 
| OLD | NEW | 
|---|