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

Unified Diff: chrome/browser/ui/views/sad_tab_view.cc

Issue 2299993005: Prepare some BlueButtons in chrome browser ui for switch to Harmony. (Closed)
Patch Set: restore include Created 4 years, 3 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/sad_tab_view.cc
diff --git a/chrome/browser/ui/views/sad_tab_view.cc b/chrome/browser/ui/views/sad_tab_view.cc
index 8cb68a6e527ba2d3fb9899743b8aa45765c58fa8..5b27d3a9698fa1310afe54c2cdb5b2b6f18a3eb2 100644
--- a/chrome/browser/ui/views/sad_tab_view.cc
+++ b/chrome/browser/ui/views/sad_tab_view.cc
@@ -24,7 +24,7 @@
#include "ui/native_theme/common_theme.h"
#include "ui/native_theme/native_theme.h"
#include "ui/views/background.h"
-#include "ui/views/controls/button/blue_button.h"
+#include "ui/views/controls/button/md_text_button.h"
#include "ui/views/controls/image_view.h"
#include "ui/views/controls/label.h"
#include "ui/views/controls/link.h"
@@ -185,7 +185,7 @@ SadTabView::SadTabView(WebContents* web_contents, chrome::SadTabKind kind)
// replaces the 'Reload' button as primary action.
int button_type = total_crashes_ > kCrashesBeforeFeedbackIsDisplayed ?
SAD_TAB_BUTTON_FEEDBACK : SAD_TAB_BUTTON_RELOAD;
- action_button_ = new views::BlueButton(this,
+ action_button_ = views::MdTextButton::CreateSecondaryUiBlueButton(this,
l10n_util::GetStringUTF16(button_type == SAD_TAB_BUTTON_FEEDBACK
? IDS_CRASHED_TAB_FEEDBACK_LINK
: IDS_SAD_TAB_RELOAD_LABEL));

Powered by Google App Engine
This is Rietveld 408576698