| OLD | NEW |
| 1 // Copyright (c) 2006-2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2009 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_EXTENSIONS_EXTENSIONS_UI_H_ | 5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSIONS_UI_H_ |
| 6 #define CHROME_BROWSER_EXTENSIONS_EXTENSIONS_UI_H_ | 6 #define CHROME_BROWSER_EXTENSIONS_EXTENSIONS_UI_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 88 | 88 |
| 89 // Callback for "reload" message. | 89 // Callback for "reload" message. |
| 90 void HandleReloadMessage(const Value* value); | 90 void HandleReloadMessage(const Value* value); |
| 91 | 91 |
| 92 // Callback for "enable" message. | 92 // Callback for "enable" message. |
| 93 void HandleEnableMessage(const Value* value); | 93 void HandleEnableMessage(const Value* value); |
| 94 | 94 |
| 95 // Callback for "uninstall" message. | 95 // Callback for "uninstall" message. |
| 96 void HandleUninstallMessage(const Value* value); | 96 void HandleUninstallMessage(const Value* value); |
| 97 | 97 |
| 98 // Callback for "options" message. |
| 99 void HandleOptionsMessage(const Value* value); |
| 100 |
| 98 // Callback for "load" message. | 101 // Callback for "load" message. |
| 99 void HandleLoadMessage(const Value* value); | 102 void HandleLoadMessage(const Value* value); |
| 100 | 103 |
| 101 // Callback for "pack" message. | 104 // Callback for "pack" message. |
| 102 void HandlePackMessage(const Value* value); | 105 void HandlePackMessage(const Value* value); |
| 103 | 106 |
| 104 // Callback for "autoupdate" message. | 107 // Callback for "autoupdate" message. |
| 105 void HandleAutoUpdateMessage(const Value* value); | 108 void HandleAutoUpdateMessage(const Value* value); |
| 106 | 109 |
| 107 // Utility for calling javascript window.alert in the page. | 110 // Utility for calling javascript window.alert in the page. |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 146 | 149 |
| 147 class ExtensionsUI : public DOMUI { | 150 class ExtensionsUI : public DOMUI { |
| 148 public: | 151 public: |
| 149 explicit ExtensionsUI(TabContents* contents); | 152 explicit ExtensionsUI(TabContents* contents); |
| 150 | 153 |
| 151 private: | 154 private: |
| 152 DISALLOW_COPY_AND_ASSIGN(ExtensionsUI); | 155 DISALLOW_COPY_AND_ASSIGN(ExtensionsUI); |
| 153 }; | 156 }; |
| 154 | 157 |
| 155 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSIONS_UI_H_ | 158 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSIONS_UI_H_ |
| OLD | NEW |