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

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

Issue 2855093002: Remove a new usage of LabelButton::SetStyle (in ChromeCleanerDialog). (Closed)
Patch Set: views:: Created 3 years, 7 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
« no previous file with comments | « no previous file | chrome/browser/ui/views/chrome_cleaner_dialog.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2017 The Chromium Authors. All rights reserved. 1 // Copyright 2017 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_CHROME_CLEANER_DIALOG_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_CHROME_CLEANER_DIALOG_H_
6 #define CHROME_BROWSER_UI_VIEWS_CHROME_CLEANER_DIALOG_H_ 6 #define CHROME_BROWSER_UI_VIEWS_CHROME_CLEANER_DIALOG_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
11 #include "ui/views/controls/button/button.h" 11 #include "ui/views/controls/button/button.h"
12 #include "ui/views/controls/button/label_button.h"
13 #include "ui/views/window/dialog_delegate.h" 12 #include "ui/views/window/dialog_delegate.h"
14 13
15 class Browser; 14 class Browser;
16 15
17 namespace safe_browsing { 16 namespace safe_browsing {
18 class ChromeCleanerDialogController; 17 class ChromeCleanerDialogController;
19 } 18 }
20 19
21 // A modal dialog asking the user if they want to remove harmful software from 20 // A modal dialog asking the user if they want to remove harmful software from
22 // their computers by running the Chrome Cleanup tool. 21 // their computers by running the Chrome Cleanup tool.
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 57
59 // views::ButtonListener overrides. 58 // views::ButtonListener overrides.
60 void ButtonPressed(views::Button* sender, const ui::Event& event) override; 59 void ButtonPressed(views::Button* sender, const ui::Event& event) override;
61 60
62 private: 61 private:
63 Browser* browser_; 62 Browser* browser_;
64 // The pointer will be set to nullptr once the controller has been notified of 63 // The pointer will be set to nullptr once the controller has been notified of
65 // user interaction since the controller can delete itself after that point. 64 // user interaction since the controller can delete itself after that point.
66 safe_browsing::ChromeCleanerDialogController* controller_; 65 safe_browsing::ChromeCleanerDialogController* controller_;
67 66
68 views::LabelButton* advanced_button_;
69
70 DISALLOW_COPY_AND_ASSIGN(ChromeCleanerDialog); 67 DISALLOW_COPY_AND_ASSIGN(ChromeCleanerDialog);
71 }; 68 };
72 69
73 #endif // CHROME_BROWSER_UI_VIEWS_CHROME_CLEANER_DIALOG_H_ 70 #endif // CHROME_BROWSER_UI_VIEWS_CHROME_CLEANER_DIALOG_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/ui/views/chrome_cleaner_dialog.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698