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

Unified Diff: chrome/browser/ui/views/default_search_view.h

Issue 8221027: Make views::Label and views::Link auto-color themselves to be readable over their background colo... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 2 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/ui/views/bubble/bubble.cc ('k') | chrome/browser/ui/views/default_search_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/default_search_view.h
===================================================================
--- chrome/browser/ui/views/default_search_view.h (revision 104959)
+++ chrome/browser/ui/views/default_search_view.h (working copy)
@@ -12,9 +12,11 @@
#include "views/window/dialog_delegate.h"
class PrefService;
+class Profile;
class TabContents;
class TemplateURL;
class TemplateURLService;
+class ThemeService;
namespace gfx {
class Canvas;
@@ -29,15 +31,14 @@
// Responsible for displaying the contents of the default search
// prompt for when InstallSearchProvider(url, true) is called.
-class DefaultSearchView
- : public views::View,
- public views::ButtonListener,
- public views::DialogDelegate {
+class DefaultSearchView : public views::View,
+ public views::ButtonListener,
+ public views::DialogDelegate {
public:
// Takes ownership of |proposed_default_turl|.
static void Show(TabContents* tab_contents,
- TemplateURL* ,
- TemplateURLService* template_url_service);
+ TemplateURL* proposed_default_turl,
+ Profile* profile);
virtual ~DefaultSearchView();
@@ -64,7 +65,8 @@
// Takes ownership of |proposed_default_turl|.
DefaultSearchView(TabContents* tab_contents,
TemplateURL* proposed_default_turl,
- TemplateURLService* template_url_service);
+ TemplateURLService* template_url_service,
+ PrefService* prefs);
// Initializes the labels and controls in the view.
void SetupControls(PrefService* prefs);
« no previous file with comments | « chrome/browser/ui/views/bubble/bubble.cc ('k') | chrome/browser/ui/views/default_search_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698