| OLD | NEW |
| 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_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 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <string> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 67 bool enabled, | 67 bool enabled, |
| 68 bool terminated); | 68 bool terminated); |
| 69 | 69 |
| 70 // ExtensionPackJob::Client | 70 // ExtensionPackJob::Client |
| 71 virtual void OnPackSuccess(const FilePath& crx_file, | 71 virtual void OnPackSuccess(const FilePath& crx_file, |
| 72 const FilePath& key_file) OVERRIDE; | 72 const FilePath& key_file) OVERRIDE; |
| 73 | 73 |
| 74 virtual void OnPackFailure(const std::string& error) OVERRIDE; | 74 virtual void OnPackFailure(const std::string& error) OVERRIDE; |
| 75 | 75 |
| 76 // ExtensionUninstallDialog::Delegate: | 76 // ExtensionUninstallDialog::Delegate: |
| 77 virtual void ExtensionDialogAccepted() OVERRIDE; | 77 virtual void ExtensionUninstallAccepted() OVERRIDE; |
| 78 virtual void ExtensionDialogCanceled() OVERRIDE; | 78 virtual void ExtensionUninstallCanceled() OVERRIDE; |
| 79 | 79 |
| 80 private: | 80 private: |
| 81 // Callback for "requestExtensionsData" message. | 81 // Callback for "requestExtensionsData" message. |
| 82 void HandleRequestExtensionsData(const base::ListValue* args); | 82 void HandleRequestExtensionsData(const base::ListValue* args); |
| 83 | 83 |
| 84 // Callback for "toggleDeveloperMode" message. | 84 // Callback for "toggleDeveloperMode" message. |
| 85 void HandleToggleDeveloperMode(const base::ListValue* args); | 85 void HandleToggleDeveloperMode(const base::ListValue* args); |
| 86 | 86 |
| 87 // Callback for "inspect" message. | 87 // Callback for "inspect" message. |
| 88 void HandleInspectMessage(const base::ListValue* args); | 88 void HandleInspectMessage(const base::ListValue* args); |
| (...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 196 | 196 |
| 197 static RefCountedMemory* GetFaviconResourceBytes(); | 197 static RefCountedMemory* GetFaviconResourceBytes(); |
| 198 | 198 |
| 199 static void RegisterUserPrefs(PrefService* prefs); | 199 static void RegisterUserPrefs(PrefService* prefs); |
| 200 | 200 |
| 201 private: | 201 private: |
| 202 DISALLOW_COPY_AND_ASSIGN(ExtensionsUI); | 202 DISALLOW_COPY_AND_ASSIGN(ExtensionsUI); |
| 203 }; | 203 }; |
| 204 | 204 |
| 205 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSIONS_UI_H_ | 205 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSIONS_UI_H_ |
| OLD | NEW |