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 <memory> | 8 #include <memory> |
9 | 9 |
10 #include "base/macros.h" | 10 #include "base/macros.h" |
(...skipping 312 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
323 DECLARE_EXTENSION_FUNCTION("bookmarkManagerPrivate.updateMetaInfo", | 323 DECLARE_EXTENSION_FUNCTION("bookmarkManagerPrivate.updateMetaInfo", |
324 BOOKMARKMANAGERPRIVATE_UPDATEMETAINFO) | 324 BOOKMARKMANAGERPRIVATE_UPDATEMETAINFO) |
325 | 325 |
326 protected: | 326 protected: |
327 ~BookmarkManagerPrivateUpdateMetaInfoFunction() override {} | 327 ~BookmarkManagerPrivateUpdateMetaInfoFunction() override {} |
328 | 328 |
329 // ExtensionFunction: | 329 // ExtensionFunction: |
330 bool RunOnReady() override; | 330 bool RunOnReady() override; |
331 }; | 331 }; |
332 | 332 |
333 class BookmarkManagerPrivateCanOpenNewWindowsFunction | |
334 : public extensions::BookmarksFunction { | |
335 public: | |
336 DECLARE_EXTENSION_FUNCTION("bookmarkManagerPrivate.canOpenNewWindows", | |
337 BOOKMARKMANAGERPRIVATE_CANOPENNEWWINDOWS) | |
338 | |
339 protected: | |
340 ~BookmarkManagerPrivateCanOpenNewWindowsFunction() override {} | |
341 | |
342 // ExtensionFunction: | |
343 bool RunOnReady() override; | |
344 }; | |
345 | |
346 class BookmarkManagerPrivateRemoveTreesFunction | 333 class BookmarkManagerPrivateRemoveTreesFunction |
347 : public extensions::BookmarksFunction { | 334 : public extensions::BookmarksFunction { |
348 public: | 335 public: |
349 DECLARE_EXTENSION_FUNCTION("bookmarkManagerPrivate.removeTrees", | 336 DECLARE_EXTENSION_FUNCTION("bookmarkManagerPrivate.removeTrees", |
350 BOOKMARKMANAGERPRIVATE_REMOVETREES) | 337 BOOKMARKMANAGERPRIVATE_REMOVETREES) |
351 | 338 |
352 protected: | 339 protected: |
353 ~BookmarkManagerPrivateRemoveTreesFunction() override {} | 340 ~BookmarkManagerPrivateRemoveTreesFunction() override {} |
354 | 341 |
355 // ExtensionFunction: | 342 // ExtensionFunction: |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
404 protected: | 391 protected: |
405 ~BookmarkManagerPrivateGetRedoInfoFunction() override {} | 392 ~BookmarkManagerPrivateGetRedoInfoFunction() override {} |
406 | 393 |
407 // ExtensionFunction: | 394 // ExtensionFunction: |
408 bool RunOnReady() override; | 395 bool RunOnReady() override; |
409 }; | 396 }; |
410 | 397 |
411 } // namespace extensions | 398 } // namespace extensions |
412 | 399 |
413 #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 |