OLD | NEW |
| (Empty) |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 // Constants used to for the Bookmarks API. | |
6 | |
7 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_BOOKMARKS_MODULE_CONSTANTS_H_ | |
8 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_BOOKMARKS_MODULE_CONSTANTS_H_ | |
9 #pragma once | |
10 | |
11 namespace extension_bookmarks_module_constants { | |
12 | |
13 // Keys. | |
14 extern const char kIdKey[]; | |
15 extern const char kIndexKey[]; | |
16 extern const char kParentIdKey[]; | |
17 extern const char kOldIndexKey[]; | |
18 extern const char kOldParentIdKey[]; | |
19 extern const char kUrlKey[]; | |
20 extern const char kTitleKey[]; | |
21 extern const char kChildrenKey[]; | |
22 extern const char kChildIdsKey[]; | |
23 extern const char kRecursiveKey[]; | |
24 extern const char kDateAddedKey[]; | |
25 extern const char kDateFolderModifiedKey[]; | |
26 // TODO(arv): Move bookmark manager related constants out of this file. | |
27 extern const char kSameProfileKey[]; | |
28 extern const char kElementsKey[]; | |
29 | |
30 // Errors. | |
31 extern const char kNoNodeError[]; | |
32 extern const char kNoParentError[]; | |
33 extern const char kFolderNotEmptyError[]; | |
34 extern const char kInvalidIdError[]; | |
35 extern const char kInvalidIndexError[]; | |
36 extern const char kInvalidUrlError[]; | |
37 extern const char kModifySpecialError[]; | |
38 extern const char kEditBookmarksDisabled[]; | |
39 | |
40 // Events. | |
41 extern const char kOnBookmarkCreated[]; | |
42 extern const char kOnBookmarkRemoved[]; | |
43 extern const char kOnBookmarkChanged[]; | |
44 extern const char kOnBookmarkMoved[]; | |
45 extern const char kOnBookmarkChildrenReordered[]; | |
46 extern const char kOnBookmarkImportBegan[]; | |
47 extern const char kOnBookmarkImportEnded[]; | |
48 // TODO(arv): Move bookmark manager related constants out of this file. | |
49 extern const char kOnBookmarkDragEnter[]; | |
50 extern const char kOnBookmarkDragLeave[]; | |
51 extern const char kOnBookmarkDrop[]; | |
52 | |
53 }; // namespace extension_bookmarks_module_constants | |
54 | |
55 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_BOOKMARKS_MODULE_CONSTANTS_H_ | |
OLD | NEW |