| OLD | NEW |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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 // Constants used to for the Bookmarks API. | 5 // Constants used to for the Bookmarks API. |
| 6 | 6 |
| 7 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_BOOKMARKS_MODULE_CONSTANTS_H_ | 7 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_BOOKMARKS_MODULE_CONSTANTS_H_ |
| 8 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_BOOKMARKS_MODULE_CONSTANTS_H_ | 8 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_BOOKMARKS_MODULE_CONSTANTS_H_ |
| 9 | 9 |
| 10 namespace extension_bookmarks_module_constants { | 10 namespace extension_bookmarks_module_constants { |
| 11 | 11 |
| 12 // Keys. | 12 // Keys. |
| 13 extern const wchar_t kIdKey[]; | 13 extern const wchar_t kIdKey[]; |
| 14 extern const wchar_t kIndexKey[]; | 14 extern const wchar_t kIndexKey[]; |
| 15 extern const wchar_t kParentIdKey[]; | 15 extern const wchar_t kParentIdKey[]; |
| 16 extern const wchar_t kOldIndexKey[]; | 16 extern const wchar_t kOldIndexKey[]; |
| 17 extern const wchar_t kOldParentIdKey[]; | 17 extern const wchar_t kOldParentIdKey[]; |
| 18 extern const wchar_t kUrlKey[]; | 18 extern const wchar_t kUrlKey[]; |
| 19 extern const wchar_t kTitleKey[]; | 19 extern const wchar_t kTitleKey[]; |
| 20 extern const wchar_t kChildrenKey[]; | 20 extern const wchar_t kChildrenKey[]; |
| 21 extern const wchar_t kChildIdsKey[]; | 21 extern const wchar_t kChildIdsKey[]; |
| 22 extern const wchar_t kRecursiveKey[]; | 22 extern const wchar_t kRecursiveKey[]; |
| 23 extern const wchar_t kDateAddedKey[]; | 23 extern const wchar_t kDateAddedKey[]; |
| 24 extern const wchar_t kDateGroupModifiedKey[]; | 24 extern const wchar_t kDateGroupModifiedKey[]; |
| 25 // TODO(arv): Move bookmark manager related constants out of this file. |
| 26 extern const wchar_t kSameProfileKey[]; |
| 27 extern const wchar_t kElementsKey[]; |
| 25 | 28 |
| 26 // Errors. | 29 // Errors. |
| 27 extern const char kNoNodeError[]; | 30 extern const char kNoNodeError[]; |
| 28 extern const char kNoParentError[]; | 31 extern const char kNoParentError[]; |
| 29 extern const char kFolderNotEmptyError[]; | 32 extern const char kFolderNotEmptyError[]; |
| 30 extern const char kInvalidIdError[]; | 33 extern const char kInvalidIdError[]; |
| 31 extern const char kInvalidIndexError[]; | 34 extern const char kInvalidIndexError[]; |
| 32 extern const char kInvalidUrlError[]; | 35 extern const char kInvalidUrlError[]; |
| 33 extern const char kModifySpecialError[]; | 36 extern const char kModifySpecialError[]; |
| 34 | 37 |
| 35 // Events. | 38 // Events. |
| 36 extern const char kOnBookmarkCreated[]; | 39 extern const char kOnBookmarkCreated[]; |
| 37 extern const char kOnBookmarkRemoved[]; | 40 extern const char kOnBookmarkRemoved[]; |
| 38 extern const char kOnBookmarkChanged[]; | 41 extern const char kOnBookmarkChanged[]; |
| 39 extern const char kOnBookmarkMoved[]; | 42 extern const char kOnBookmarkMoved[]; |
| 40 extern const char kOnBookmarkChildrenReordered[]; | 43 extern const char kOnBookmarkChildrenReordered[]; |
| 44 // TODO(arv): Move bookmark manager related constants out of this file. |
| 41 extern const char kOnBookmarkImportBegan[]; | 45 extern const char kOnBookmarkImportBegan[]; |
| 42 extern const char kOnBookmarkImportEnded[]; | 46 extern const char kOnBookmarkImportEnded[]; |
| 47 extern const char kOnBookmarkDragEnter[]; |
| 48 extern const char kOnBookmarkDragLeave[]; |
| 49 extern const char kOnBookmarkDrop[]; |
| 43 | 50 |
| 44 }; // namespace extension_bookmarks_module_constants | 51 }; // namespace extension_bookmarks_module_constants |
| 45 | 52 |
| 46 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_BOOKMARKS_MODULE_CONSTANTS_H_ | 53 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_BOOKMARKS_MODULE_CONSTANTS_H_ |
| OLD | NEW |