Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(442)

Side by Side Diff: chrome/browser/renderer_host/render_view_host_delegate.h

Issue 2823042: Implement IsSearchProviderInstalled and a test for it. (Closed)
Patch Set: Addressed feedback. Created 10 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 23 matching lines...) Expand all
34 struct RendererPreferences; 34 struct RendererPreferences;
35 class RenderProcessHost; 35 class RenderProcessHost;
36 class RenderViewHost; 36 class RenderViewHost;
37 class ResourceRedirectDetails; 37 class ResourceRedirectDetails;
38 class ResourceRequestDetails; 38 class ResourceRequestDetails;
39 class SkBitmap; 39 class SkBitmap;
40 class TabContents; 40 class TabContents;
41 struct ThumbnailScore; 41 struct ThumbnailScore;
42 struct ViewHostMsg_DidPrintPage_Params; 42 struct ViewHostMsg_DidPrintPage_Params;
43 struct ViewHostMsg_FrameNavigate_Params; 43 struct ViewHostMsg_FrameNavigate_Params;
44 struct ViewHostMsg_GetSearchProviderInstallState_Params;
44 struct ViewHostMsg_RunFileChooser_Params; 45 struct ViewHostMsg_RunFileChooser_Params;
45 struct WebDropData; 46 struct WebDropData;
46 class WebKeyboardEvent; 47 class WebKeyboardEvent;
47 struct WebPreferences; 48 struct WebPreferences;
48 49
49 namespace base { 50 namespace base {
50 class WaitableEvent; 51 class WaitableEvent;
51 } 52 }
52 53
53 namespace gfx { 54 namespace gfx {
(...skipping 591 matching lines...) Expand 10 before | Expand all | Expand 10 after
645 646
646 // On initial layout, password forms are known to be visible on the page. 647 // On initial layout, password forms are known to be visible on the page.
647 virtual void PasswordFormsVisible( 648 virtual void PasswordFormsVisible(
648 const std::vector<webkit_glue::PasswordForm>& visible_forms) {} 649 const std::vector<webkit_glue::PasswordForm>& visible_forms) {}
649 650
650 // Notification that the page has an OpenSearch description document. 651 // Notification that the page has an OpenSearch description document.
651 virtual void PageHasOSDD(RenderViewHost* render_view_host, 652 virtual void PageHasOSDD(RenderViewHost* render_view_host,
652 int32 page_id, const GURL& doc_url, 653 int32 page_id, const GURL& doc_url,
653 bool autodetected) {} 654 bool autodetected) {}
654 655
656 // Returns the install state of the search provider url (not installed,
657 // installed, default).
658 virtual ViewHostMsg_GetSearchProviderInstallState_Params
659 GetSearchProviderInstallState(const GURL& url);
660
655 // |url| is assigned to a server that can provide alternate error pages. If 661 // |url| is assigned to a server that can provide alternate error pages. If
656 // the returned URL is empty, the default error page built into WebKit will 662 // the returned URL is empty, the default error page built into WebKit will
657 // be used. 663 // be used.
658 virtual GURL GetAlternateErrorPageURL() const; 664 virtual GURL GetAlternateErrorPageURL() const;
659 665
660 // Return a dummy RendererPreferences object that will be used by the renderer 666 // Return a dummy RendererPreferences object that will be used by the renderer
661 // associated with the owning RenderViewHost. 667 // associated with the owning RenderViewHost.
662 virtual RendererPreferences GetRendererPrefs(Profile* profile) const = 0; 668 virtual RendererPreferences GetRendererPrefs(Profile* profile) const = 0;
663 669
664 // Returns a WebPreferences object that will be used by the renderer 670 // Returns a WebPreferences object that will be used by the renderer
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
701 virtual bool IsExternalTabContainer() const; 707 virtual bool IsExternalTabContainer() const;
702 708
703 // The RenderView has inserted one css file into page. 709 // The RenderView has inserted one css file into page.
704 virtual void DidInsertCSS() {} 710 virtual void DidInsertCSS() {}
705 711
706 // A different node in the page got focused. 712 // A different node in the page got focused.
707 virtual void FocusedNodeChanged() {} 713 virtual void FocusedNodeChanged() {}
708 }; 714 };
709 715
710 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ 716 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698