| 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 427 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 438 virtual void UpdateInspectorSettings(const std::string& raw_settings) {} | 438 virtual void UpdateInspectorSettings(const std::string& raw_settings) {} |
| 439 | 439 |
| 440 // The page is trying to close the RenderView's representation in the client. | 440 // The page is trying to close the RenderView's representation in the client. |
| 441 virtual void Close(RenderViewHost* render_view_host) {} | 441 virtual void Close(RenderViewHost* render_view_host) {} |
| 442 | 442 |
| 443 // The page is trying to move the RenderView's representation in the client. | 443 // The page is trying to move the RenderView's representation in the client. |
| 444 virtual void RequestMove(const gfx::Rect& new_bounds) {} | 444 virtual void RequestMove(const gfx::Rect& new_bounds) {} |
| 445 | 445 |
| 446 // The RenderView began loading a new page. This corresponds to WebKit's | 446 // The RenderView began loading a new page. This corresponds to WebKit's |
| 447 // notion of the throbber starting. | 447 // notion of the throbber starting. |
| 448 virtual void DidStartLoading(RenderViewHost* render_view_host) {} | 448 virtual void DidStartLoading() {} |
| 449 | 449 |
| 450 // The RenderView stopped loading a page. This corresponds to WebKit's | 450 // The RenderView stopped loading a page. This corresponds to WebKit's |
| 451 // notion of the throbber stopping. | 451 // notion of the throbber stopping. |
| 452 virtual void DidStopLoading(RenderViewHost* render_view_host) {} | 452 virtual void DidStopLoading() {} |
| 453 | 453 |
| 454 // The RenderView's main frame document element is ready. This happens when | 454 // The RenderView's main frame document element is ready. This happens when |
| 455 // the document has finished parsing. | 455 // the document has finished parsing. |
| 456 virtual void DocumentAvailableInMainFrame(RenderViewHost* render_view_host) {} | 456 virtual void DocumentAvailableInMainFrame(RenderViewHost* render_view_host) {} |
| 457 | 457 |
| 458 // The page wants to open a URL with the specified disposition. | 458 // The page wants to open a URL with the specified disposition. |
| 459 virtual void RequestOpenURL(const GURL& url, | 459 virtual void RequestOpenURL(const GURL& url, |
| 460 const GURL& referrer, | 460 const GURL& referrer, |
| 461 WindowOpenDisposition disposition) {} | 461 WindowOpenDisposition disposition) {} |
| 462 | 462 |
| (...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 551 virtual bool IsExternalTabContainer() const; | 551 virtual bool IsExternalTabContainer() const; |
| 552 | 552 |
| 553 // The RenderView has inserted one css file into page. | 553 // The RenderView has inserted one css file into page. |
| 554 virtual void DidInsertCSS() {} | 554 virtual void DidInsertCSS() {} |
| 555 | 555 |
| 556 // A different node in the page got focused. | 556 // A different node in the page got focused. |
| 557 virtual void FocusedNodeChanged() {} | 557 virtual void FocusedNodeChanged() {} |
| 558 }; | 558 }; |
| 559 | 559 |
| 560 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ | 560 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ |
| OLD | NEW |