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

Unified Diff: chrome/browser/ui/views/sad_tab_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/page_info_bubble_view.cc ('k') | chrome/browser/ui/views/sad_tab_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/sad_tab_view.h
===================================================================
--- chrome/browser/ui/views/sad_tab_view.h (revision 104959)
+++ chrome/browser/ui/views/sad_tab_view.h (working copy)
@@ -57,9 +57,13 @@
virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE;
private:
+ views::Label* CreateLabel(const string16& text);
+ views::Link* CreateLink(const string16& text);
+
TabContents* tab_contents_;
Kind kind_;
bool painted_;
+ const gfx::Font& base_font_;
views::Label* message_;
views::Link* help_link_;
views::Link* feedback_link_;
« no previous file with comments | « chrome/browser/ui/views/page_info_bubble_view.cc ('k') | chrome/browser/ui/views/sad_tab_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698