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 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
147 void RegisterForNotifications(); | 147 void RegisterForNotifications(); |
148 | 148 |
149 // SelectFileDialog::Listener | 149 // SelectFileDialog::Listener |
150 virtual void FileSelected(const FilePath& path, | 150 virtual void FileSelected(const FilePath& path, |
151 int index, void* params); | 151 int index, void* params); |
152 virtual void MultiFilesSelected( | 152 virtual void MultiFilesSelected( |
153 const std::vector<FilePath>& files, void* params); | 153 const std::vector<FilePath>& files, void* params); |
154 virtual void FileSelectionCanceled(void* params) {} | 154 virtual void FileSelectionCanceled(void* params) {} |
155 | 155 |
156 // NotificationObserver | 156 // NotificationObserver |
157 virtual void Observe(NotificationType type, | 157 virtual void Observe(int type, |
158 const NotificationSource& source, | 158 const NotificationSource& source, |
159 const NotificationDetails& details); | 159 const NotificationDetails& details); |
160 | 160 |
161 // Helper that lists the current active html pages for an extension. | 161 // Helper that lists the current active html pages for an extension. |
162 std::vector<ExtensionPage> GetActivePagesForExtension( | 162 std::vector<ExtensionPage> GetActivePagesForExtension( |
163 const Extension* extension); | 163 const Extension* extension); |
164 void GetActivePagesForExtensionProcess( | 164 void GetActivePagesForExtensionProcess( |
165 RenderProcessHost* process, | 165 RenderProcessHost* process, |
166 const Extension* extension, | 166 const Extension* extension, |
167 std::vector<ExtensionPage> *result); | 167 std::vector<ExtensionPage> *result); |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
210 | 210 |
211 static RefCountedMemory* GetFaviconResourceBytes(); | 211 static RefCountedMemory* GetFaviconResourceBytes(); |
212 | 212 |
213 static void RegisterUserPrefs(PrefService* prefs); | 213 static void RegisterUserPrefs(PrefService* prefs); |
214 | 214 |
215 private: | 215 private: |
216 DISALLOW_COPY_AND_ASSIGN(ExtensionsUI); | 216 DISALLOW_COPY_AND_ASSIGN(ExtensionsUI); |
217 }; | 217 }; |
218 | 218 |
219 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSIONS_UI_H_ | 219 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSIONS_UI_H_ |
OLD | NEW |