| 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_EXTENSIONS_EXTENSION_SETTINGS_HANDLER_H_ | 5 #ifndef CHROME_BROWSER_UI_WEBUI_EXTENSIONS_EXTENSION_SETTINGS_HANDLER_H_ |
| 6 #define CHROME_BROWSER_UI_WEBUI_EXTENSIONS_EXTENSION_SETTINGS_HANDLER_H_ | 6 #define CHROME_BROWSER_UI_WEBUI_EXTENSIONS_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 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 126 | 126 |
| 127 // Callback for "allowFileAcces" message. | 127 // Callback for "allowFileAcces" message. |
| 128 void HandleAllowFileAccessMessage(const base::ListValue* args); | 128 void HandleAllowFileAccessMessage(const base::ListValue* args); |
| 129 | 129 |
| 130 // Callback for "uninstall" message. | 130 // Callback for "uninstall" message. |
| 131 void HandleUninstallMessage(const base::ListValue* args); | 131 void HandleUninstallMessage(const base::ListValue* args); |
| 132 | 132 |
| 133 // Callback for "options" message. | 133 // Callback for "options" message. |
| 134 void HandleOptionsMessage(const base::ListValue* args); | 134 void HandleOptionsMessage(const base::ListValue* args); |
| 135 | 135 |
| 136 // Callback for "activity" message. |
| 137 void HandleActivityMessage(const base::ListValue* args); |
| 138 |
| 136 // Callback for "showButton" message. | 139 // Callback for "showButton" message. |
| 137 void HandleShowButtonMessage(const base::ListValue* args); | 140 void HandleShowButtonMessage(const base::ListValue* args); |
| 138 | 141 |
| 139 // Callback for "autoupdate" message. | 142 // Callback for "autoupdate" message. |
| 140 void HandleAutoUpdateMessage(const base::ListValue* args); | 143 void HandleAutoUpdateMessage(const base::ListValue* args); |
| 141 | 144 |
| 142 // Callback for "loadUnpackedExtension" message. | 145 // Callback for "loadUnpackedExtension" message. |
| 143 void HandleLoadUnpackedExtensionMessage(const base::ListValue* args); | 146 void HandleLoadUnpackedExtensionMessage(const base::ListValue* args); |
| 144 | 147 |
| 145 // Utility for calling JavaScript window.alert in the page. | 148 // Utility for calling JavaScript window.alert in the page. |
| (...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 205 bool registered_for_notifications_; | 208 bool registered_for_notifications_; |
| 206 | 209 |
| 207 content::NotificationRegistrar registrar_; | 210 content::NotificationRegistrar registrar_; |
| 208 | 211 |
| 209 PrefChangeRegistrar pref_registrar_; | 212 PrefChangeRegistrar pref_registrar_; |
| 210 | 213 |
| 211 DISALLOW_COPY_AND_ASSIGN(ExtensionSettingsHandler); | 214 DISALLOW_COPY_AND_ASSIGN(ExtensionSettingsHandler); |
| 212 }; | 215 }; |
| 213 | 216 |
| 214 #endif // CHROME_BROWSER_UI_WEBUI_EXTENSIONS_EXTENSION_SETTINGS_HANDLER_H_ | 217 #endif // CHROME_BROWSER_UI_WEBUI_EXTENSIONS_EXTENSION_SETTINGS_HANDLER_H_ |
| OLD | NEW |