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

Unified Diff: chrome/browser/ui/views/infobars/infobar_view.h

Issue 2187473004: Make normal MD text buttons *on infobars* white. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/views/infobars/infobar_view.h
diff --git a/chrome/browser/ui/views/infobars/infobar_view.h b/chrome/browser/ui/views/infobars/infobar_view.h
index 281899aae32e08b5c5c4a850c32b176961914c80..468648993344fa99d7f228506f02b049951129cb 100644
--- a/chrome/browser/ui/views/infobars/infobar_view.h
+++ b/chrome/browser/ui/views/infobars/infobar_view.h
@@ -48,6 +48,7 @@ class InfoBarView : public infobars::InfoBar,
static const int kButtonButtonSpacing;
static const int kEndOfLabelSpacing;
+ static const SkColor kTextColor;
~InfoBarView() override;
@@ -64,10 +65,6 @@ class InfoBarView : public infobars::InfoBar,
// NOTE: Subclasses must ignore button presses if we're unowned.
static views::LabelButton* CreateTextButton(views::ButtonListener* listener,
const base::string16& text);
- // As above, but used for MD.
- static views::MdTextButton* CreateMdTextButton(
- views::ButtonListener* listener,
- const base::string16& text);
// Given |labels| and the total |available_width| to display them in, sets
// each label's size so that the longest label shrinks until it reaches the

Powered by Google App Engine
This is Rietveld 408576698