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 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
(...skipping 672 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
683 IPC::Message* reply_msg, | 683 IPC::Message* reply_msg, |
684 bool* did_suppress_message) {} | 684 bool* did_suppress_message) {} |
685 | 685 |
686 virtual void RunBeforeUnloadConfirm(const std::wstring& message, | 686 virtual void RunBeforeUnloadConfirm(const std::wstring& message, |
687 IPC::Message* reply_msg) {} | 687 IPC::Message* reply_msg) {} |
688 | 688 |
689 virtual void ShowModalHTMLDialog(const GURL& url, int width, int height, | 689 virtual void ShowModalHTMLDialog(const GURL& url, int width, int height, |
690 const std::string& json_arguments, | 690 const std::string& json_arguments, |
691 IPC::Message* reply_msg) {} | 691 IPC::Message* reply_msg) {} |
692 | 692 |
693 // Password forms have been detected in the page. | |
694 virtual void PasswordFormsFound( | |
695 const std::vector<webkit_glue::PasswordForm>& forms) {} | |
696 | |
697 // On initial layout, password forms are known to be visible on the page. | |
698 virtual void PasswordFormsVisible( | |
699 const std::vector<webkit_glue::PasswordForm>& visible_forms) {} | |
700 | |
701 // Notification that the page has an OpenSearch description document. | 693 // Notification that the page has an OpenSearch description document. |
702 virtual void PageHasOSDD(RenderViewHost* render_view_host, | 694 virtual void PageHasOSDD(RenderViewHost* render_view_host, |
703 int32 page_id, const GURL& doc_url, | 695 int32 page_id, const GURL& doc_url, |
704 const ViewHostMsg_PageHasOSDD_Type& provider_type) {} | 696 const ViewHostMsg_PageHasOSDD_Type& provider_type) {} |
705 | 697 |
706 // |url| is assigned to a server that can provide alternate error pages. If | 698 // |url| is assigned to a server that can provide alternate error pages. If |
707 // the returned URL is empty, the default error page built into WebKit will | 699 // the returned URL is empty, the default error page built into WebKit will |
708 // be used. | 700 // be used. |
709 virtual GURL GetAlternateErrorPageURL() const; | 701 virtual GURL GetAlternateErrorPageURL() const; |
710 | 702 |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
754 bool remember) {} | 746 bool remember) {} |
755 | 747 |
756 // Update the content restrictions, i.e. disable print/copy. | 748 // Update the content restrictions, i.e. disable print/copy. |
757 virtual void UpdateContentRestrictions(int restrictions) {} | 749 virtual void UpdateContentRestrictions(int restrictions) {} |
758 | 750 |
759 protected: | 751 protected: |
760 virtual ~RenderViewHostDelegate() {} | 752 virtual ~RenderViewHostDelegate() {} |
761 }; | 753 }; |
762 | 754 |
763 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ | 755 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ |
OLD | NEW |