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

Side by Side Diff: chrome/browser/ui/views/outdated_upgrade_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: 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_UI_VIEWS_OUTDATED_UPGRADE_BUBBLE_VIEW_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_OUTDATED_UPGRADE_BUBBLE_VIEW_H_
6 #define CHROME_BROWSER_UI_VIEWS_OUTDATED_UPGRADE_BUBBLE_VIEW_H_ 6 #define CHROME_BROWSER_UI_VIEWS_OUTDATED_UPGRADE_BUBBLE_VIEW_H_
7 7
8 #include "ui/views/bubble/bubble_delegate.h" 8 #include "ui/views/bubble/bubble_delegate.h"
9 #include "ui/views/controls/button/button.h" 9 #include "ui/views/controls/button/button.h"
10 10
11 namespace views { 11 namespace views {
12 class TextButton; 12 class LabelButton;
13 } 13 }
14 14
15 namespace content { 15 namespace content {
16 class PageNavigator; 16 class PageNavigator;
17 } 17 }
18 18
19 // OutdatedUpgradeBubbleView warns the user that an upgrade is long overdue. 19 // OutdatedUpgradeBubbleView warns the user that an upgrade is long overdue.
20 // It is intended to be used as the content of a bubble anchored off of the 20 // It is intended to be used as the content of a bubble anchored off of the
21 // Chrome toolbar. Don't create an OutdatedUpgradeBubbleView directly, 21 // Chrome toolbar. Don't create an OutdatedUpgradeBubbleView directly,
22 // instead use the static ShowBubble method. 22 // instead use the static ShowBubble method.
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 static OutdatedUpgradeBubbleView* upgrade_bubble_; 57 static OutdatedUpgradeBubbleView* upgrade_bubble_;
58 58
59 // The numer of times the user ignored the bubble before finally choosing to 59 // The numer of times the user ignored the bubble before finally choosing to
60 // reinstall. 60 // reinstall.
61 static int num_ignored_bubbles_; 61 static int num_ignored_bubbles_;
62 62
63 // Identifies if the reinstall button was hit before closing the bubble. 63 // Identifies if the reinstall button was hit before closing the bubble.
64 bool chose_to_reinstall_; 64 bool chose_to_reinstall_;
65 65
66 // Button that takes the user to the Chrome download page. 66 // Button that takes the user to the Chrome download page.
67 views::TextButton* reinstall_button_; 67 views::LabelButton* reinstall_button_;
68 68
69 // Button for the user to be reminded later about the outdated upgrade. 69 // Button for the user to be reminded later about the outdated upgrade.
70 views::TextButton* later_button_; 70 views::LabelButton* later_button_;
71 71
72 // The PageNavigator to use for opening the Download Chrome URL. 72 // The PageNavigator to use for opening the Download Chrome URL.
73 content::PageNavigator* navigator_; 73 content::PageNavigator* navigator_;
74 74
75 DISALLOW_COPY_AND_ASSIGN(OutdatedUpgradeBubbleView); 75 DISALLOW_COPY_AND_ASSIGN(OutdatedUpgradeBubbleView);
76 }; 76 };
77 77
78 #endif // CHROME_BROWSER_UI_VIEWS_OUTDATED_UPGRADE_BUBBLE_VIEW_H_ 78 #endif // CHROME_BROWSER_UI_VIEWS_OUTDATED_UPGRADE_BUBBLE_VIEW_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/open_pdf_in_reader_bubble_view.cc ('k') | chrome/browser/ui/views/outdated_upgrade_bubble_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698