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 29 matching lines...) Expand all Loading... |
40 class ResourceRedirectDetails; | 40 class ResourceRedirectDetails; |
41 class ResourceRequestDetails; | 41 class ResourceRequestDetails; |
42 class SkBitmap; | 42 class SkBitmap; |
43 class SSLClientAuthHandler; | 43 class SSLClientAuthHandler; |
44 class SSLAddCertHandler; | 44 class SSLAddCertHandler; |
45 class TabContents; | 45 class TabContents; |
46 struct ThumbnailScore; | 46 struct ThumbnailScore; |
47 struct ViewHostMsg_DidPrintPage_Params; | 47 struct ViewHostMsg_DidPrintPage_Params; |
48 struct ViewHostMsg_DomMessage_Params; | 48 struct ViewHostMsg_DomMessage_Params; |
49 struct ViewHostMsg_FrameNavigate_Params; | 49 struct ViewHostMsg_FrameNavigate_Params; |
50 struct ViewHostMsg_GetSearchProviderInstallState_Params; | |
51 struct ViewHostMsg_RunFileChooser_Params; | 50 struct ViewHostMsg_RunFileChooser_Params; |
52 struct WebDropData; | 51 struct WebDropData; |
53 class WebKeyboardEvent; | 52 class WebKeyboardEvent; |
54 struct WebPreferences; | 53 struct WebPreferences; |
55 | 54 |
56 namespace base { | 55 namespace base { |
57 class WaitableEvent; | 56 class WaitableEvent; |
58 } | 57 } |
59 | 58 |
60 namespace gfx { | 59 namespace gfx { |
(...skipping 691 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
752 | 751 |
753 // On initial layout, password forms are known to be visible on the page. | 752 // On initial layout, password forms are known to be visible on the page. |
754 virtual void PasswordFormsVisible( | 753 virtual void PasswordFormsVisible( |
755 const std::vector<webkit_glue::PasswordForm>& visible_forms) {} | 754 const std::vector<webkit_glue::PasswordForm>& visible_forms) {} |
756 | 755 |
757 // Notification that the page has an OpenSearch description document. | 756 // Notification that the page has an OpenSearch description document. |
758 virtual void PageHasOSDD(RenderViewHost* render_view_host, | 757 virtual void PageHasOSDD(RenderViewHost* render_view_host, |
759 int32 page_id, const GURL& doc_url, | 758 int32 page_id, const GURL& doc_url, |
760 bool autodetected) {} | 759 bool autodetected) {} |
761 | 760 |
762 // Returns the install state of the search provider url (not installed, | |
763 // installed, default). | |
764 virtual ViewHostMsg_GetSearchProviderInstallState_Params | |
765 GetSearchProviderInstallState(const GURL& url); | |
766 | |
767 // |url| is assigned to a server that can provide alternate error pages. If | 761 // |url| is assigned to a server that can provide alternate error pages. If |
768 // the returned URL is empty, the default error page built into WebKit will | 762 // the returned URL is empty, the default error page built into WebKit will |
769 // be used. | 763 // be used. |
770 virtual GURL GetAlternateErrorPageURL() const; | 764 virtual GURL GetAlternateErrorPageURL() const; |
771 | 765 |
772 // Return a dummy RendererPreferences object that will be used by the renderer | 766 // Return a dummy RendererPreferences object that will be used by the renderer |
773 // associated with the owning RenderViewHost. | 767 // associated with the owning RenderViewHost. |
774 virtual RendererPreferences GetRendererPrefs(Profile* profile) const = 0; | 768 virtual RendererPreferences GetRendererPrefs(Profile* profile) const = 0; |
775 | 769 |
776 // Returns a WebPreferences object that will be used by the renderer | 770 // Returns a WebPreferences object that will be used by the renderer |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
814 virtual void FocusedNodeChanged() {} | 808 virtual void FocusedNodeChanged() {} |
815 | 809 |
816 // The content being displayed is a PDF. | 810 // The content being displayed is a PDF. |
817 virtual void SetDisplayingPDFContent() {} | 811 virtual void SetDisplayingPDFContent() {} |
818 | 812 |
819 protected: | 813 protected: |
820 virtual ~RenderViewHostDelegate() {} | 814 virtual ~RenderViewHostDelegate() {} |
821 }; | 815 }; |
822 | 816 |
823 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ | 817 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ |
OLD | NEW |