| OLD | NEW |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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 CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ | 5 #ifndef CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ |
| 6 #define CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ | 6 #define CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 519 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 530 // delegate can use this notification to show a warning to the user. | 530 // delegate can use this notification to show a warning to the user. |
| 531 virtual void RendererUnresponsive(RenderViewHost* render_view_host, | 531 virtual void RendererUnresponsive(RenderViewHost* render_view_host, |
| 532 bool is_during_unload) {} | 532 bool is_during_unload) {} |
| 533 | 533 |
| 534 // Notification that a previously unresponsive renderer has become | 534 // Notification that a previously unresponsive renderer has become |
| 535 // responsive again. The delegate can use this notification to end the | 535 // responsive again. The delegate can use this notification to end the |
| 536 // warning shown to the user. | 536 // warning shown to the user. |
| 537 virtual void RendererResponsive(RenderViewHost* render_view_host) {} | 537 virtual void RendererResponsive(RenderViewHost* render_view_host) {} |
| 538 | 538 |
| 539 // Notification that the RenderViewHost's load state changed. | 539 // Notification that the RenderViewHost's load state changed. |
| 540 virtual void LoadStateChanged(const GURL& url, net::LoadState load_state) {} | 540 virtual void LoadStateChanged(const GURL& url, net::LoadState load_state, |
| 541 uint64 upload_position, uint64 upload_size) {} |
| 541 | 542 |
| 542 // Returns true if this view is used to host an external tab container. | 543 // Returns true if this view is used to host an external tab container. |
| 543 virtual bool IsExternalTabContainer() const; | 544 virtual bool IsExternalTabContainer() const; |
| 544 | 545 |
| 545 // The RenderView has inserted one css file into page. | 546 // The RenderView has inserted one css file into page. |
| 546 virtual void DidInsertCSS() {} | 547 virtual void DidInsertCSS() {} |
| 547 | 548 |
| 548 // A different node in the page got focused. | 549 // A different node in the page got focused. |
| 549 virtual void FocusedNodeChanged() {} | 550 virtual void FocusedNodeChanged() {} |
| 550 }; | 551 }; |
| 551 | 552 |
| 552 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ | 553 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ |
| OLD | NEW |