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

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

Issue 1777813002: MD - use new style of text button in infobars. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: uac button cleanup Created 4 years, 9 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 9486766001cd0c1bf628594375076c65f4513cd4..b1955f73df1b63ef4b500bb1c3eb713142f1965b 100644
--- a/chrome/browser/ui/views/infobars/infobar_view.h
+++ b/chrome/browser/ui/views/infobars/infobar_view.h
@@ -58,13 +58,8 @@ class InfoBarView : public infobars::InfoBar,
// Creates a focusable button for use on an infobar. The appearance is
// customized for infobars (except in Material mode).
// NOTE: Subclasses must ignore button presses if we're unowned.
- static views::Button* CreateTextButton(views::ButtonListener* listener,
- const base::string16& text);
-
- // Like CreateTextButton, but specifically creates a LabelButton.
- // TODO(estade): remove this function when MD is default.
- static views::LabelButton* CreateLabelButton(views::ButtonListener* listener,
- const base::string16& text);
+ static views::LabelButton* CreateTextButton(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
« no previous file with comments | « chrome/browser/ui/views/infobars/confirm_infobar.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