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

Unified Diff: chrome/browser/ui/views/download/download_item_view_md.cc

Issue 1958453002: Update some secondary UI buttons to MD style. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: msw review Created 4 years, 7 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/download/download_item_view_md.cc
diff --git a/chrome/browser/ui/views/download/download_item_view_md.cc b/chrome/browser/ui/views/download/download_item_view_md.cc
index 6222e832d0d982fa1479261db0de32e583a42d0c..a411f5025829f123bdd5502bfae4f0c322a799a4 100644
--- a/chrome/browser/ui/views/download/download_item_view_md.cc
+++ b/chrome/browser/ui/views/download/download_item_view_md.cc
@@ -63,7 +63,6 @@
#include "ui/views/animation/ink_drop_hover.h"
#include "ui/views/border.h"
#include "ui/views/controls/button/image_button.h"
-#include "ui/views/controls/button/label_button.h"
#include "ui/views/controls/button/md_text_button.h"
#include "ui/views/controls/label.h"
#include "ui/views/mouse_constants.h"
@@ -950,14 +949,12 @@ void DownloadItemViewMd::ShowWarningDialog() {
if (mode_ == DANGEROUS_MODE) {
save_button_ = views::MdTextButton::CreateMdButton(
this, model_.GetWarningConfirmButtonText());
- save_button_->SetStyle(views::Button::STYLE_BUTTON);
AddChildView(save_button_);
}
int discard_button_message =
model_.IsMalicious() ? IDS_DISMISS_DOWNLOAD : IDS_DISCARD_DOWNLOAD;
discard_button_ = views::MdTextButton::CreateMdButton(
this, l10n_util::GetStringUTF16(discard_button_message));
- discard_button_->SetStyle(views::Button::STYLE_BUTTON);
AddChildView(discard_button_);
base::string16 dangerous_label =
« no previous file with comments | « chrome/browser/ui/views/collected_cookies_views.cc ('k') | chrome/browser/ui/views/extensions/media_galleries_dialog_views.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698