Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(815)

Side by Side Diff: chrome/browser/extensions/extensions_ui.h

Issue 7327007: Moving notification types which are chrome specific to a new header file chrome_notification_type... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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
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_
OLDNEW
« no previous file with comments | « chrome/browser/extensions/extension_webstore_private_apitest.cc ('k') | chrome/browser/extensions/extensions_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698