| 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; | |
| 142 | 141 |
| 143 // content::NotificationObserver implementation. | 142 // content::NotificationObserver implementation. |
| 144 virtual void Observe(int type, | 143 virtual void Observe(int type, |
| 145 const content::NotificationSource& source, | 144 const content::NotificationSource& source, |
| 146 const content::NotificationDetails& details) OVERRIDE; | 145 const content::NotificationDetails& details) OVERRIDE; |
| 147 | 146 |
| 148 // ExtensionUninstallDialog::Delegate implementation, used for receiving | 147 // ExtensionUninstallDialog::Delegate implementation, used for receiving |
| 149 // notification about uninstall confirmation dialog selections. | 148 // notification about uninstall confirmation dialog selections. |
| 150 virtual void ExtensionUninstallAccepted() OVERRIDE; | 149 virtual void ExtensionUninstallAccepted() OVERRIDE; |
| 151 virtual void ExtensionUninstallCanceled() OVERRIDE; | 150 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 | 188 // 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 | 189 // 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 | 190 // that don't exist yet when notifications come in. This variable makes sure |
| 192 // we do so only once. | 191 // we do so only once. |
| 193 bool registered_for_notifications_; | 192 bool registered_for_notifications_; |
| 194 | 193 |
| 195 DISALLOW_COPY_AND_ASSIGN(ExtensionSettingsHandler); | 194 DISALLOW_COPY_AND_ASSIGN(ExtensionSettingsHandler); |
| 196 }; | 195 }; |
| 197 | 196 |
| 198 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_EXTENSION_SETTINGS_HANDLER_H_ | 197 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_EXTENSION_SETTINGS_HANDLER_H_ |
| OLD | NEW |