| 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 168 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 288 virtual void SetIsVirtualKeyboardRequested(bool requested) {} | 287 virtual void SetIsVirtualKeyboardRequested(bool requested) {} |
| 289 virtual bool IsVirtualKeyboardRequested(); | 288 virtual bool IsVirtualKeyboardRequested(); |
| 290 | 289 |
| 291 protected: | 290 protected: |
| 292 virtual ~RenderViewHostDelegate() {} | 291 virtual ~RenderViewHostDelegate() {} |
| 293 }; | 292 }; |
| 294 | 293 |
| 295 } // namespace content | 294 } // namespace content |
| 296 | 295 |
| 297 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ | 296 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ |
| OLD | NEW |