OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_WEBUI_OPTIONS_EXTENSION_SETTINGS_HANDLER_H_ | 5 #ifndef CHROME_BROWSER_UI_WEBUI_OPTIONS_EXTENSION_SETTINGS_HANDLER_H_ |
6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS_EXTENSION_SETTINGS_HANDLER_H_ | 6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS_EXTENSION_SETTINGS_HANDLER_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <set> | 9 #include <set> |
10 #include <string> | 10 #include <string> |
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
131 virtual void MultiFilesSelected( | 131 virtual void MultiFilesSelected( |
132 const std::vector<FilePath>& files, void* params) OVERRIDE; | 132 const std::vector<FilePath>& files, void* params) OVERRIDE; |
133 virtual void FileSelectionCanceled(void* params) OVERRIDE {} | 133 virtual void FileSelectionCanceled(void* params) OVERRIDE {} |
134 | 134 |
135 // WebUIMessageHandler implementation. | 135 // WebUIMessageHandler implementation. |
136 virtual void RegisterMessages() OVERRIDE; | 136 virtual void RegisterMessages() OVERRIDE; |
137 | 137 |
138 // OptionsUIHandler implementation. | 138 // OptionsUIHandler implementation. |
139 virtual void GetLocalizedValues( | 139 virtual void GetLocalizedValues( |
140 base::DictionaryValue* localized_strings) OVERRIDE; | 140 base::DictionaryValue* localized_strings) OVERRIDE; |
141 virtual void Initialize() OVERRIDE; | 141 virtual void InitializeHandler() OVERRIDE; |
142 | 142 |
143 // content::NotificationObserver implementation. | 143 // content::NotificationObserver implementation. |
144 virtual void Observe(int type, | 144 virtual void Observe(int type, |
145 const content::NotificationSource& source, | 145 const content::NotificationSource& source, |
146 const content::NotificationDetails& details) OVERRIDE; | 146 const content::NotificationDetails& details) OVERRIDE; |
147 | 147 |
148 // ExtensionUninstallDialog::Delegate implementation, used for receiving | 148 // ExtensionUninstallDialog::Delegate implementation, used for receiving |
149 // notification about uninstall confirmation dialog selections. | 149 // notification about uninstall confirmation dialog selections. |
150 virtual void ExtensionUninstallAccepted() OVERRIDE; | 150 virtual void ExtensionUninstallAccepted() OVERRIDE; |
151 virtual void ExtensionUninstallCanceled() OVERRIDE; | 151 virtual void ExtensionUninstallCanceled() OVERRIDE; |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
189 // We want to register for notifications only after we've responded at least | 189 // We want to register for notifications only after we've responded at least |
190 // once to the page, otherwise we'd be calling javacsript functions on objects | 190 // once to the page, otherwise we'd be calling javacsript functions on objects |
191 // that don't exist yet when notifications come in. This variable makes sure | 191 // that don't exist yet when notifications come in. This variable makes sure |
192 // we do so only once. | 192 // we do so only once. |
193 bool registered_for_notifications_; | 193 bool registered_for_notifications_; |
194 | 194 |
195 DISALLOW_COPY_AND_ASSIGN(ExtensionSettingsHandler); | 195 DISALLOW_COPY_AND_ASSIGN(ExtensionSettingsHandler); |
196 }; | 196 }; |
197 | 197 |
198 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_EXTENSION_SETTINGS_HANDLER_H_ | 198 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_EXTENSION_SETTINGS_HANDLER_H_ |
OLD | NEW |