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

Unified Diff: chrome/browser/ui/views/sync/one_click_signin_bubble_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: fix Created 7 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/sync/one_click_signin_bubble_view.h
diff --git a/chrome/browser/ui/views/sync/one_click_signin_bubble_view.h b/chrome/browser/ui/views/sync/one_click_signin_bubble_view.h
index 78de25d33f75608154b8334cf1f73f9edbca3aab..25e27dff1ad7b5888c7be7e5490d2611730f4a6e 100644
--- a/chrome/browser/ui/views/sync/one_click_signin_bubble_view.h
+++ b/chrome/browser/ui/views/sync/one_click_signin_bubble_view.h
@@ -22,7 +22,7 @@ class MessageLoop;
namespace views {
class GridLayout;
-class TextButton;
+class LabelButton;
}
// OneClickSigninBubbleView is a view intended to be used as the content of an
@@ -80,8 +80,8 @@ class OneClickSigninBubbleView : public views::BubbleDelegateView,
// Creates OK and Undo buttons to be used at the bottom of the bubble.
// Derived classes can reimplement to have buttons with different labels,
// colours, or sizes. The caller of this function owns the returned buttons.
- virtual void GetButtons(views::TextButton** ok_button,
- views::TextButton** undo_button);
+ virtual void GetButtons(views::LabelButton** ok_button,
+ views::LabelButton** undo_button);
// Creates advanced link to be used at the bottom of the bubble.
// Derived classes can reimplement. The caller of this function owns the
@@ -101,8 +101,8 @@ class OneClickSigninBubbleView : public views::BubbleDelegateView,
views::Link* advanced_link_;
// Controls at bottom of bubble.
- views::TextButton* ok_button_;
- views::TextButton* undo_button_;
+ views::LabelButton* ok_button_;
+ views::LabelButton* undo_button_;
// This callback is nulled once its called, so that it is called only once.
// It will be called when the bubble is closed if it has not been called

Powered by Google App Engine
This is Rietveld 408576698