OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_API_BOOKMARK_MANAGER_PRIVATE_BOOKMARK_MANAGER_
PRIVATE_API_H_ | 5 #ifndef CHROME_BROWSER_EXTENSIONS_API_BOOKMARK_MANAGER_PRIVATE_BOOKMARK_MANAGER_
PRIVATE_API_H_ |
6 #define CHROME_BROWSER_EXTENSIONS_API_BOOKMARK_MANAGER_PRIVATE_BOOKMARK_MANAGER_
PRIVATE_API_H_ | 6 #define CHROME_BROWSER_EXTENSIONS_API_BOOKMARK_MANAGER_PRIVATE_BOOKMARK_MANAGER_
PRIVATE_API_H_ |
7 | 7 |
8 #include "base/memory/scoped_ptr.h" | 8 #include "base/memory/scoped_ptr.h" |
9 #include "base/values.h" | 9 #include "base/values.h" |
10 #include "chrome/browser/extensions/api/bookmarks/bookmarks_api.h" | 10 #include "chrome/browser/extensions/api/bookmarks/bookmarks_api.h" |
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
190 | 190 |
191 class BookmarkManagerPrivateGetStringsFunction : public AsyncExtensionFunction { | 191 class BookmarkManagerPrivateGetStringsFunction : public AsyncExtensionFunction { |
192 public: | 192 public: |
193 DECLARE_EXTENSION_FUNCTION("bookmarkManagerPrivate.getStrings", | 193 DECLARE_EXTENSION_FUNCTION("bookmarkManagerPrivate.getStrings", |
194 BOOKMARKMANAGERPRIVATE_GETSTRINGS) | 194 BOOKMARKMANAGERPRIVATE_GETSTRINGS) |
195 | 195 |
196 protected: | 196 protected: |
197 virtual ~BookmarkManagerPrivateGetStringsFunction() {} | 197 virtual ~BookmarkManagerPrivateGetStringsFunction() {} |
198 | 198 |
199 // ExtensionFunction: | 199 // ExtensionFunction: |
200 virtual bool RunImpl() OVERRIDE; | 200 virtual bool RunAsync() OVERRIDE; |
201 }; | 201 }; |
202 | 202 |
203 class BookmarkManagerPrivateStartDragFunction | 203 class BookmarkManagerPrivateStartDragFunction |
204 : public extensions::BookmarksFunction { | 204 : public extensions::BookmarksFunction { |
205 public: | 205 public: |
206 DECLARE_EXTENSION_FUNCTION("bookmarkManagerPrivate.startDrag", | 206 DECLARE_EXTENSION_FUNCTION("bookmarkManagerPrivate.startDrag", |
207 BOOKMARKMANAGERPRIVATE_STARTDRAG) | 207 BOOKMARKMANAGERPRIVATE_STARTDRAG) |
208 | 208 |
209 protected: | 209 protected: |
210 virtual ~BookmarkManagerPrivateStartDragFunction() {} | 210 virtual ~BookmarkManagerPrivateStartDragFunction() {} |
(...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
391 protected: | 391 protected: |
392 virtual ~BookmarkManagerPrivateGetRedoInfoFunction() {} | 392 virtual ~BookmarkManagerPrivateGetRedoInfoFunction() {} |
393 | 393 |
394 // ExtensionFunction: | 394 // ExtensionFunction: |
395 virtual bool RunOnReady() OVERRIDE; | 395 virtual bool RunOnReady() OVERRIDE; |
396 }; | 396 }; |
397 | 397 |
398 } // namespace extensions | 398 } // namespace extensions |
399 | 399 |
400 #endif // CHROME_BROWSER_EXTENSIONS_API_BOOKMARK_MANAGER_PRIVATE_BOOKMARK_MANAG
ER_PRIVATE_API_H_ | 400 #endif // CHROME_BROWSER_EXTENSIONS_API_BOOKMARK_MANAGER_PRIVATE_BOOKMARK_MANAG
ER_PRIVATE_API_H_ |
OLD | NEW |