OLD | NEW |
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 "base/macros.h" | 8 #include "base/macros.h" |
9 #include "ui/views/bubble/bubble_delegate.h" | 9 #include "ui/views/bubble/bubble_delegate.h" |
10 #include "ui/views/controls/button/button.h" | 10 #include "ui/views/controls/button/button.h" |
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
74 // Chrome download page when |auto_update_enabled_| is true, or attempt to | 74 // Chrome download page when |auto_update_enabled_| is true, or attempt to |
75 // re-enable auto-update otherwise. | 75 // re-enable auto-update otherwise. |
76 views::LabelButton* accept_button_; | 76 views::LabelButton* accept_button_; |
77 | 77 |
78 // Button for the user to be reminded later about the outdated upgrade. | 78 // Button for the user to be reminded later about the outdated upgrade. |
79 views::LabelButton* later_button_; | 79 views::LabelButton* later_button_; |
80 | 80 |
81 // The PageNavigator to use for opening the Download Chrome URL. | 81 // The PageNavigator to use for opening the Download Chrome URL. |
82 content::PageNavigator* navigator_; | 82 content::PageNavigator* navigator_; |
83 | 83 |
84 scoped_ptr<ElevationIconSetter> elevation_icon_setter_; | 84 std::unique_ptr<ElevationIconSetter> elevation_icon_setter_; |
85 | 85 |
86 DISALLOW_COPY_AND_ASSIGN(OutdatedUpgradeBubbleView); | 86 DISALLOW_COPY_AND_ASSIGN(OutdatedUpgradeBubbleView); |
87 }; | 87 }; |
88 | 88 |
89 #endif // CHROME_BROWSER_UI_VIEWS_OUTDATED_UPGRADE_BUBBLE_VIEW_H_ | 89 #endif // CHROME_BROWSER_UI_VIEWS_OUTDATED_UPGRADE_BUBBLE_VIEW_H_ |
OLD | NEW |