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

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

Issue 6485017: Carnitas: move browser/ui/shell_dialogs.{h,cc} to browser/ui (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 2 more cases Created 9 years, 10 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
« no previous file with comments | « chrome/browser/download/save_package.h ('k') | chrome/browser/extensions/extensions_ui.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_EXTENSION_BOOKMARKS_MODULE_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_BOOKMARKS_MODULE_H_
6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_BOOKMARKS_MODULE_H_ 6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_BOOKMARKS_MODULE_H_
7 #pragma once 7 #pragma once
8 8
9 #include <list> 9 #include <list>
10 #include <set> 10 #include <set>
11 #include <string> 11 #include <string>
12 12
13 #include "base/ref_counted.h" 13 #include "base/ref_counted.h"
14 #include "base/singleton.h" 14 #include "base/singleton.h"
15 #include "chrome/browser/bookmarks/bookmark_model_observer.h" 15 #include "chrome/browser/bookmarks/bookmark_model_observer.h"
16 #include "chrome/browser/extensions/extension_function.h" 16 #include "chrome/browser/extensions/extension_function.h"
17 #include "chrome/browser/importer/importer.h" 17 #include "chrome/browser/importer/importer.h"
18 #include "chrome/browser/importer/importer_list.h" 18 #include "chrome/browser/importer/importer_list.h"
19 #include "chrome/browser/shell_dialogs.h" 19 #include "chrome/browser/ui/shell_dialogs.h"
20 #include "chrome/common/notification_observer.h" 20 #include "chrome/common/notification_observer.h"
21 #include "chrome/common/notification_registrar.h" 21 #include "chrome/common/notification_registrar.h"
22 22
23 // Observes BookmarkModel and then routes the notifications as events to 23 // Observes BookmarkModel and then routes the notifications as events to
24 // the extension system. 24 // the extension system.
25 class ExtensionBookmarkEventRouter : public BookmarkModelObserver { 25 class ExtensionBookmarkEventRouter : public BookmarkModelObserver {
26 public: 26 public:
27 static ExtensionBookmarkEventRouter* GetInstance(); 27 static ExtensionBookmarkEventRouter* GetInstance();
28 virtual ~ExtensionBookmarkEventRouter(); 28 virtual ~ExtensionBookmarkEventRouter();
29 29
(...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after
205 public: 205 public:
206 // Override BookmarkManagerIOFunction. 206 // Override BookmarkManagerIOFunction.
207 virtual bool RunImpl(); 207 virtual bool RunImpl();
208 virtual void FileSelected(const FilePath& path, int index, void* params); 208 virtual void FileSelected(const FilePath& path, int index, void* params);
209 209
210 private: 210 private:
211 DECLARE_EXTENSION_FUNCTION_NAME("bookmarks.export"); 211 DECLARE_EXTENSION_FUNCTION_NAME("bookmarks.export");
212 }; 212 };
213 213
214 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_BOOKMARKS_MODULE_H_ 214 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_BOOKMARKS_MODULE_H_
OLDNEW
« no previous file with comments | « chrome/browser/download/save_package.h ('k') | chrome/browser/extensions/extensions_ui.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698