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

Unified Diff: chrome/browser/ui/views/location_bar/keyword_hint_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/location_bar/keyword_hint_view.h
===================================================================
--- chrome/browser/ui/views/location_bar/keyword_hint_view.h (revision 104959)
+++ chrome/browser/ui/views/location_bar/keyword_hint_view.h (working copy)
@@ -34,8 +34,6 @@
void SetFont(const gfx::Font& font);
- void SetColor(const SkColor& color);
-
void SetKeyword(const string16& keyword);
string16 keyword() const { return keyword_; }
@@ -46,6 +44,8 @@
virtual void Layout();
private:
+ views::Label* CreateLabel();
+
views::Label* leading_label_;
views::Label* trailing_label_;

Powered by Google App Engine
This is Rietveld 408576698