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 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
137 | 137 |
138 // The RenderView made progress loading a page's top frame. | 138 // The RenderView made progress loading a page's top frame. |
139 // |progress| is a value between 0 (nothing loaded) to 1.0 (top frame | 139 // |progress| is a value between 0 (nothing loaded) to 1.0 (top frame |
140 // entirely loaded). | 140 // entirely loaded). |
141 virtual void DidChangeLoadProgress(double progress) {} | 141 virtual void DidChangeLoadProgress(double progress) {} |
142 | 142 |
143 // The RenderView set its opener to null, disowning it for the lifetime of | 143 // The RenderView set its opener to null, disowning it for the lifetime of |
144 // the window. | 144 // the window. |
145 virtual void DidDisownOpener(RenderViewHost* rvh) {} | 145 virtual void DidDisownOpener(RenderViewHost* rvh) {} |
146 | 146 |
147 // Another page accessed the initial empty document of this RenderView, | |
148 // which means it is no longer safe to display a pending URL without | |
149 // risking a URL spoof. | |
150 virtual void DidAccessInitialDocument() {} | |
151 | |
152 // The RenderView's main frame document element is ready. This happens when | 147 // The RenderView's main frame document element is ready. This happens when |
153 // the document has finished parsing. | 148 // the document has finished parsing. |
154 virtual void DocumentAvailableInMainFrame(RenderViewHost* render_view_host) {} | 149 virtual void DocumentAvailableInMainFrame(RenderViewHost* render_view_host) {} |
155 | 150 |
156 // The onload handler in the RenderView's main frame has completed. | 151 // The onload handler in the RenderView's main frame has completed. |
157 virtual void DocumentOnLoadCompletedInMainFrame( | 152 virtual void DocumentOnLoadCompletedInMainFrame( |
158 RenderViewHost* render_view_host, | 153 RenderViewHost* render_view_host, |
159 int32 page_id) {} | 154 int32 page_id) {} |
160 | 155 |
161 // The page wants to close the active view in this tab. | 156 // The page wants to close the active view in this tab. |
(...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
322 virtual void AccessibilityEventReceived( | 317 virtual void AccessibilityEventReceived( |
323 const std::vector<AXEventNotificationDetails>& details) {} | 318 const std::vector<AXEventNotificationDetails>& details) {} |
324 | 319 |
325 protected: | 320 protected: |
326 virtual ~RenderViewHostDelegate() {} | 321 virtual ~RenderViewHostDelegate() {} |
327 }; | 322 }; |
328 | 323 |
329 } // namespace content | 324 } // namespace content |
330 | 325 |
331 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ | 326 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ |
OLD | NEW |