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

Side by Side Diff: chrome/installer/util/html_dialog.h

Issue 1109043003: Apply automated fixits for Chrome clang plugin to chrome. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_INSTALLER_UTIL_HTML_DIALOG_H_ 5 #ifndef CHROME_INSTALLER_UTIL_HTML_DIALOG_H_
6 #define CHROME_INSTALLER_UTIL_HTML_DIALOG_H_ 6 #define CHROME_INSTALLER_UTIL_HTML_DIALOG_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 ACCEPTED_OPT_IN, // Accepted EULA and opt-in, from HTML_DLG_EXTRA (6). 81 ACCEPTED_OPT_IN, // Accepted EULA and opt-in, from HTML_DLG_EXTRA (6).
82 }; 82 };
83 83
84 // Shows the dialog and blocks for user input. The return value is one of 84 // Shows the dialog and blocks for user input. The return value is one of
85 // the |Outcome| values and any form of failure maps to REJECTED. 85 // the |Outcome| values and any form of failure maps to REJECTED.
86 Outcome ShowModal(); 86 Outcome ShowModal();
87 87
88 private: 88 private:
89 class Customizer : public HTMLDialog::CustomizationCallback { 89 class Customizer : public HTMLDialog::CustomizationCallback {
90 public: 90 public:
91 virtual void OnBeforeCreation(wchar_t** extra); 91 void OnBeforeCreation(wchar_t** extra) override;
92 virtual void OnBeforeDisplay(void* window); 92 void OnBeforeDisplay(void* window) override;
93 }; 93 };
94 94
95 HTMLDialog* dialog_; 95 HTMLDialog* dialog_;
96 DISALLOW_COPY_AND_ASSIGN(EulaHTMLDialog); 96 DISALLOW_COPY_AND_ASSIGN(EulaHTMLDialog);
97 }; 97 };
98 98
99 } // namespace installer 99 } // namespace installer
100 100
101 #endif // CHROME_INSTALLER_UTIL_HTML_DIALOG_H_ 101 #endif // CHROME_INSTALLER_UTIL_HTML_DIALOG_H_
OLDNEW
« no previous file with comments | « chrome/installer/util/google_chrome_binaries_distribution.h ('k') | chrome/installer/util/html_dialog_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698