| 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_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 <string> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 186 void MaybeUpdateAfterNotification(); | 186 void MaybeUpdateAfterNotification(); |
| 187 | 187 |
| 188 // SelectFileDialog::Listener | 188 // SelectFileDialog::Listener |
| 189 virtual void FileSelected(const FilePath& path, | 189 virtual void FileSelected(const FilePath& path, |
| 190 int index, void* params); | 190 int index, void* params); |
| 191 virtual void MultiFilesSelected( | 191 virtual void MultiFilesSelected( |
| 192 const std::vector<FilePath>& files, void* params); | 192 const std::vector<FilePath>& files, void* params); |
| 193 virtual void FileSelectionCanceled(void* params) {} | 193 virtual void FileSelectionCanceled(void* params) {} |
| 194 | 194 |
| 195 // NotificationObserver | 195 // NotificationObserver |
| 196 virtual void Observe(NotificationType type, | 196 virtual void Observe(int type, |
| 197 const NotificationSource& source, | 197 const NotificationSource& source, |
| 198 const NotificationDetails& details); | 198 const NotificationDetails& details); |
| 199 | 199 |
| 200 // Helper that lists the current active html pages for an extension. | 200 // Helper that lists the current active html pages for an extension. |
| 201 std::vector<ExtensionPage> GetActivePagesForExtension( | 201 std::vector<ExtensionPage> GetActivePagesForExtension( |
| 202 const Extension* extension); | 202 const Extension* extension); |
| 203 void GetActivePagesForExtensionProcess( | 203 void GetActivePagesForExtensionProcess( |
| 204 RenderProcessHost* process, | 204 RenderProcessHost* process, |
| 205 const Extension* extension, | 205 const Extension* extension, |
| 206 std::vector<ExtensionPage> *result); | 206 std::vector<ExtensionPage> *result); |
| (...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 266 | 266 |
| 267 static RefCountedMemory* GetFaviconResourceBytes(); | 267 static RefCountedMemory* GetFaviconResourceBytes(); |
| 268 | 268 |
| 269 static void RegisterUserPrefs(PrefService* prefs); | 269 static void RegisterUserPrefs(PrefService* prefs); |
| 270 | 270 |
| 271 private: | 271 private: |
| 272 DISALLOW_COPY_AND_ASSIGN(ExtensionsUI); | 272 DISALLOW_COPY_AND_ASSIGN(ExtensionsUI); |
| 273 }; | 273 }; |
| 274 | 274 |
| 275 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_EXTENSION_SETTINGS_HANDLER_H_ | 275 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_EXTENSION_SETTINGS_HANDLER_H_ |
| OLD | NEW |