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 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
99 virtual void RenderViewTerminated(RenderViewHost* render_view_host, | 99 virtual void RenderViewTerminated(RenderViewHost* render_view_host, |
100 base::TerminationStatus status, | 100 base::TerminationStatus status, |
101 int error_code) {} | 101 int error_code) {} |
102 | 102 |
103 // The RenderView is going to be deleted. This is called when each | 103 // The RenderView is going to be deleted. This is called when each |
104 // RenderView is going to be destroyed | 104 // RenderView is going to be destroyed |
105 virtual void RenderViewDeleted(RenderViewHost* render_view_host) {} | 105 virtual void RenderViewDeleted(RenderViewHost* render_view_host) {} |
106 | 106 |
107 // The state for the page changed and should be updated. | 107 // The state for the page changed and should be updated. |
108 virtual void UpdateState(RenderViewHost* render_view_host, | 108 virtual void UpdateState(RenderViewHost* render_view_host, |
109 int32 rvh_page_id, // http://crbug.com/407376 | |
110 int32 page_id, | 109 int32 page_id, |
111 const PageState& state) {} | 110 const PageState& state) {} |
112 | 111 |
113 // The destination URL has changed should be updated. | 112 // The destination URL has changed should be updated. |
114 virtual void UpdateTargetURL(const GURL& url) {} | 113 virtual void UpdateTargetURL(const GURL& url) {} |
115 | 114 |
116 // The page is trying to close the RenderView's representation in the client. | 115 // The page is trying to close the RenderView's representation in the client. |
117 virtual void Close(RenderViewHost* render_view_host) {} | 116 virtual void Close(RenderViewHost* render_view_host) {} |
118 | 117 |
119 // The page is trying to move the RenderView's representation in the client. | 118 // The page is trying to move the RenderView's representation in the client. |
(...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
283 // created by the RenderViewHost. | 282 // created by the RenderViewHost. |
284 virtual FrameTree* GetFrameTree(); | 283 virtual FrameTree* GetFrameTree(); |
285 | 284 |
286 protected: | 285 protected: |
287 virtual ~RenderViewHostDelegate() {} | 286 virtual ~RenderViewHostDelegate() {} |
288 }; | 287 }; |
289 | 288 |
290 } // namespace content | 289 } // namespace content |
291 | 290 |
292 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ | 291 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ |
OLD | NEW |