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

Unified Diff: chrome/browser/ui/views/download/download_item_view.h

Issue 13584010: views: Migrate the cases of "new .*NativeTextButton(" to LabelButton. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: back out the changes to one_click_signin_bubble_view.* Created 7 years, 8 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.h
diff --git a/chrome/browser/ui/views/download/download_item_view.h b/chrome/browser/ui/views/download/download_item_view.h
index 545988b32fe2d23a83b07329776d16d195c4a569..7af7ca89f0ee61cd2ba1f3b998a3fd3a777ed33c 100644
--- a/chrome/browser/ui/views/download/download_item_view.h
+++ b/chrome/browser/ui/views/download/download_item_view.h
@@ -49,7 +49,7 @@ class SlideAnimation;
namespace views {
class Label;
-class TextButton;
+class LabelButton;
}
class DownloadItemView : public views::ButtonListener,
@@ -293,8 +293,8 @@ class DownloadItemView : public views::ButtonListener,
base::RepeatingTimer<DownloadItemView> progress_timer_;
// Dangerous mode buttons.
- views::TextButton* save_button_;
- views::TextButton* discard_button_;
+ views::LabelButton* save_button_;
+ views::LabelButton* discard_button_;
// Dangerous mode label.
views::Label* dangerous_download_label_;
« no previous file with comments | « chrome/browser/ui/views/critical_notification_bubble_view.cc ('k') | chrome/browser/ui/views/download/download_item_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698