| 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 558 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 569 bool* did_suppress_message) {} | 569 bool* did_suppress_message) {} |
| 570 | 570 |
| 571 virtual void RunBeforeUnloadConfirm(const std::wstring& message, | 571 virtual void RunBeforeUnloadConfirm(const std::wstring& message, |
| 572 IPC::Message* reply_msg) {} | 572 IPC::Message* reply_msg) {} |
| 573 | 573 |
| 574 virtual void ShowModalHTMLDialog(const GURL& url, int width, int height, | 574 virtual void ShowModalHTMLDialog(const GURL& url, int width, int height, |
| 575 const std::string& json_arguments, | 575 const std::string& json_arguments, |
| 576 IPC::Message* reply_msg) {} | 576 IPC::Message* reply_msg) {} |
| 577 | 577 |
| 578 // Password forms have been detected in the page. | 578 // Password forms have been detected in the page. |
| 579 virtual void PasswordFormsSeen( | 579 virtual void PasswordFormsFound( |
| 580 const std::vector<webkit_glue::PasswordForm>& forms) {} | 580 const std::vector<webkit_glue::PasswordForm>& forms) {} |
| 581 | 581 |
| 582 // On initial layout, password forms are known to be visible on the page. |
| 583 virtual void PasswordFormsVisible( |
| 584 const std::vector<webkit_glue::PasswordForm>& visible_forms) {} |
| 585 |
| 582 // Notification that the page has an OpenSearch description document. | 586 // Notification that the page has an OpenSearch description document. |
| 583 virtual void PageHasOSDD(RenderViewHost* render_view_host, | 587 virtual void PageHasOSDD(RenderViewHost* render_view_host, |
| 584 int32 page_id, const GURL& doc_url, | 588 int32 page_id, const GURL& doc_url, |
| 585 bool autodetected) {} | 589 bool autodetected) {} |
| 586 | 590 |
| 587 // |url| is assigned to a server that can provide alternate error pages. If | 591 // |url| is assigned to a server that can provide alternate error pages. If |
| 588 // the returned URL is empty, the default error page built into WebKit will | 592 // the returned URL is empty, the default error page built into WebKit will |
| 589 // be used. | 593 // be used. |
| 590 virtual GURL GetAlternateErrorPageURL() const; | 594 virtual GURL GetAlternateErrorPageURL() const; |
| 591 | 595 |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 633 virtual bool IsExternalTabContainer() const; | 637 virtual bool IsExternalTabContainer() const; |
| 634 | 638 |
| 635 // The RenderView has inserted one css file into page. | 639 // The RenderView has inserted one css file into page. |
| 636 virtual void DidInsertCSS() {} | 640 virtual void DidInsertCSS() {} |
| 637 | 641 |
| 638 // A different node in the page got focused. | 642 // A different node in the page got focused. |
| 639 virtual void FocusedNodeChanged() {} | 643 virtual void FocusedNodeChanged() {} |
| 640 }; | 644 }; |
| 641 | 645 |
| 642 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ | 646 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ |
| OLD | NEW |