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

Unified Diff: chrome/browser/ui/views/infobars/infobar_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
Index: chrome/browser/ui/views/infobars/infobar_view.h
===================================================================
--- chrome/browser/ui/views/infobars/infobar_view.h (revision 104959)
+++ chrome/browser/ui/views/infobars/infobar_view.h (working copy)
@@ -48,13 +48,12 @@
virtual ~InfoBarView();
// Creates a label with the appropriate font and color for an infobar.
- static views::Label* CreateLabel(const string16& text);
+ views::Label* CreateLabel(const string16& text) const;
// Creates a link with the appropriate font and color for an infobar.
// NOTE: Subclasses must ignore link clicks if we're unowned.
- static views::Link* CreateLink(const string16& text,
- views::LinkListener* listener,
- const SkColor& background_color);
+ views::Link* CreateLink(const string16& text,
+ views::LinkListener* listener) const;
// Creates a menu button with an infobar-specific appearance.
// NOTE: Subclasses must ignore button presses if we're unowned.
« no previous file with comments | « chrome/browser/ui/views/infobars/infobar_background.cc ('k') | chrome/browser/ui/views/infobars/infobar_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698