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

Side by Side Diff: chrome/browser/ui/views/outdated_upgrade_bubble_view.h

Issue 1865213004: Convert //chrome/browser/ui from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 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
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 "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
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_
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/omnibox/omnibox_view_views_unittest.cc ('k') | chrome/browser/ui/views/panels/panel_stack_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698