OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 virtual void DidStartLoading() {} | 530 virtual void DidStartLoading() {} |
531 | 531 |
532 // The RenderView stopped loading a page. This corresponds to WebKit's | 532 // The RenderView stopped loading a page. This corresponds to WebKit's |
533 // notion of the throbber stopping. | 533 // notion of the throbber stopping. |
534 virtual void DidStopLoading() {} | 534 virtual void DidStopLoading() {} |
535 | 535 |
536 // The RenderView's main frame document element is ready. This happens when | 536 // The RenderView's main frame document element is ready. This happens when |
537 // the document has finished parsing. | 537 // the document has finished parsing. |
538 virtual void DocumentAvailableInMainFrame(RenderViewHost* render_view_host) {} | 538 virtual void DocumentAvailableInMainFrame(RenderViewHost* render_view_host) {} |
539 | 539 |
| 540 // The onload handler in the RenderView's main frame has completed. |
| 541 virtual void DocumentOnLoadCompletedInMainFrame( |
| 542 RenderViewHost* render_view_host) {} |
| 543 |
540 // The page wants to open a URL with the specified disposition. | 544 // The page wants to open a URL with the specified disposition. |
541 virtual void RequestOpenURL(const GURL& url, | 545 virtual void RequestOpenURL(const GURL& url, |
542 const GURL& referrer, | 546 const GURL& referrer, |
543 WindowOpenDisposition disposition) {} | 547 WindowOpenDisposition disposition) {} |
544 | 548 |
545 // A DOM automation operation completed. The result of the operation is | 549 // A DOM automation operation completed. The result of the operation is |
546 // expressed in a json string. | 550 // expressed in a json string. |
547 virtual void DomOperationResponse(const std::string& json_string, | 551 virtual void DomOperationResponse(const std::string& json_string, |
548 int automation_id) {} | 552 int automation_id) {} |
549 | 553 |
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
643 virtual bool IsExternalTabContainer() const; | 647 virtual bool IsExternalTabContainer() const; |
644 | 648 |
645 // The RenderView has inserted one css file into page. | 649 // The RenderView has inserted one css file into page. |
646 virtual void DidInsertCSS() {} | 650 virtual void DidInsertCSS() {} |
647 | 651 |
648 // A different node in the page got focused. | 652 // A different node in the page got focused. |
649 virtual void FocusedNodeChanged() {} | 653 virtual void FocusedNodeChanged() {} |
650 }; | 654 }; |
651 | 655 |
652 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ | 656 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ |
OLD | NEW |