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

Unified Diff: chrome/browser/ui/views/chrome_cleaner_dialog_win.h

Issue 2966453002: Chrome Cleaner UI: Add logs upload permission checkbox to the dialog (Closed)
Patch Set: More comments Created 3 years, 6 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/chrome_cleaner_dialog_win.h
diff --git a/chrome/browser/ui/views/chrome_cleaner_dialog_win.h b/chrome/browser/ui/views/chrome_cleaner_dialog_win.h
index 8d3b14496c44283633ee253ff81cee9e7b643986..ab4bd31c14a442524cdf753538f3fb42fca96826 100644
--- a/chrome/browser/ui/views/chrome_cleaner_dialog_win.h
+++ b/chrome/browser/ui/views/chrome_cleaner_dialog_win.h
@@ -17,6 +17,11 @@ namespace safe_browsing {
class ChromeCleanerDialogController;
}
+namespace views {
+class Checkbox;
+class LabelButton;
+} // namespace views
+
// A modal dialog asking the user if they want to remove harmful software from
// their computers by running the Chrome Cleanup tool.
//
@@ -43,6 +48,7 @@ class ChromeCleanerDialog : public views::DialogDelegateView,
base::string16 GetWindowTitle() const override;
// views::DialogDelegate overrides.
+ views::View* CreateFootnoteView() override;
base::string16 GetDialogButtonLabel(ui::DialogButton button) const override;
views::View* CreateExtraView() override;
bool Accept() override;
@@ -60,6 +66,8 @@ class ChromeCleanerDialog : public views::DialogDelegateView,
// The pointer will be set to nullptr once the controller has been notified of
// user interaction since the controller can delete itself after that point.
safe_browsing::ChromeCleanerDialogController* controller_;
+ views::LabelButton* details_button_;
+ views::Checkbox* logs_permission_checkbox_;
DISALLOW_COPY_AND_ASSIGN(ChromeCleanerDialog);
};

Powered by Google App Engine
This is Rietveld 408576698