| 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 <stdint.h> |    8 #include <stdint.h> | 
|    9  |    9  | 
|   10 #include <string> |   10 #include <string> | 
| (...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|   98   virtual void RenderViewTerminated(RenderViewHost* render_view_host, |   98   virtual void RenderViewTerminated(RenderViewHost* render_view_host, | 
|   99                                     base::TerminationStatus status, |   99                                     base::TerminationStatus status, | 
|  100                                     int error_code) {} |  100                                     int error_code) {} | 
|  101  |  101  | 
|  102   // The RenderView is going to be deleted. This is called when each |  102   // The RenderView is going to be deleted. This is called when each | 
|  103   // RenderView is going to be destroyed |  103   // RenderView is going to be destroyed | 
|  104   virtual void RenderViewDeleted(RenderViewHost* render_view_host) {} |  104   virtual void RenderViewDeleted(RenderViewHost* render_view_host) {} | 
|  105  |  105  | 
|  106   // The state for the page changed and should be updated. |  106   // The state for the page changed and should be updated. | 
|  107   virtual void UpdateState(RenderViewHost* render_view_host, |  107   virtual void UpdateState(RenderViewHost* render_view_host, | 
|  108                            int32_t page_id, |  | 
|  109                            const PageState& state) {} |  108                            const PageState& state) {} | 
|  110  |  109  | 
|  111   // The destination URL has changed should be updated. |  110   // The destination URL has changed should be updated. | 
|  112   virtual void UpdateTargetURL(RenderViewHost* render_view_host, |  111   virtual void UpdateTargetURL(RenderViewHost* render_view_host, | 
|  113                                const GURL& url) {} |  112                                const GURL& url) {} | 
|  114  |  113  | 
|  115   // The page is trying to close the RenderView's representation in the client. |  114   // The page is trying to close the RenderView's representation in the client. | 
|  116   virtual void Close(RenderViewHost* render_view_host) {} |  115   virtual void Close(RenderViewHost* render_view_host) {} | 
|  117  |  116  | 
|  118   // The page is trying to move the RenderView's representation in the client. |  117   // The page is trying to move the RenderView's representation in the client. | 
| (...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  242  |  241  | 
|  243   virtual bool IsJavaScriptDialogShowing() const; |  242   virtual bool IsJavaScriptDialogShowing() const; | 
|  244  |  243  | 
|  245  protected: |  244  protected: | 
|  246   virtual ~RenderViewHostDelegate() {} |  245   virtual ~RenderViewHostDelegate() {} | 
|  247 }; |  246 }; | 
|  248  |  247  | 
|  249 }  // namespace content |  248 }  // namespace content | 
|  250  |  249  | 
|  251 #endif  // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ |  250 #endif  // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ | 
| OLD | NEW |