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

Side by Side Diff: chrome/browser/extensions/api/bookmarks/bookmark_api_constants.h

Issue 11516010: Move BookmarkManagerAPI to c/b/e/api (Closed) Base URL: http://git.chromium.org/chromium/src.git@dc_ungoop4
Patch Set: Created 8 years 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
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_API_BOOKMARKS_BOOKMARK_API_CONSTANTS_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_API_BOOKMARKS_BOOKMARK_API_CONSTANTS_H_
6 #define CHROME_BROWSER_EXTENSIONS_API_BOOKMARKS_BOOKMARK_API_CONSTANTS_H_ 6 #define CHROME_BROWSER_EXTENSIONS_API_BOOKMARKS_BOOKMARK_API_CONSTANTS_H_
7 7
8 // Constants used for the Bookmarks API. 8 // Constants used for the Bookmarks API.
9 9
10 namespace extensions { 10 namespace extensions {
11 namespace bookmark_api_constants { 11 namespace bookmark_api_constants {
12 12
13 // Keys. 13 // Keys.
14 extern const char kIdKey[]; 14 extern const char kIdKey[];
15 extern const char kIndexKey[]; 15 extern const char kIndexKey[];
16 extern const char kParentIdKey[]; 16 extern const char kParentIdKey[];
17 extern const char kOldIndexKey[]; 17 extern const char kOldIndexKey[];
18 extern const char kOldParentIdKey[]; 18 extern const char kOldParentIdKey[];
19 extern const char kUrlKey[]; 19 extern const char kUrlKey[];
20 extern const char kTitleKey[]; 20 extern const char kTitleKey[];
21 extern const char kChildrenKey[]; 21 extern const char kChildrenKey[];
22 extern const char kChildIdsKey[]; 22 extern const char kChildIdsKey[];
23 extern const char kRecursiveKey[]; 23 extern const char kRecursiveKey[];
24 extern const char kDateAddedKey[]; 24 extern const char kDateAddedKey[];
25 extern const char kDateFolderModifiedKey[]; 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 26
30 // Errors. 27 // Errors.
31 extern const char kNoNodeError[]; 28 extern const char kNoNodeError[];
32 extern const char kNoParentError[]; 29 extern const char kNoParentError[];
33 extern const char kFolderNotEmptyError[]; 30 extern const char kFolderNotEmptyError[];
34 extern const char kInvalidIdError[]; 31 extern const char kInvalidIdError[];
35 extern const char kInvalidIndexError[]; 32 extern const char kInvalidIndexError[];
36 extern const char kInvalidUrlError[]; 33 extern const char kInvalidUrlError[];
37 extern const char kModifySpecialError[]; 34 extern const char kModifySpecialError[];
38 extern const char kEditBookmarksDisabled[]; 35 extern const char kEditBookmarksDisabled[];
39 36
40 // Events. 37 // Events.
41 extern const char kOnBookmarkCreated[]; 38 extern const char kOnBookmarkCreated[];
42 extern const char kOnBookmarkRemoved[]; 39 extern const char kOnBookmarkRemoved[];
43 extern const char kOnBookmarkChanged[]; 40 extern const char kOnBookmarkChanged[];
44 extern const char kOnBookmarkMoved[]; 41 extern const char kOnBookmarkMoved[];
45 extern const char kOnBookmarkChildrenReordered[]; 42 extern const char kOnBookmarkChildrenReordered[];
46 extern const char kOnBookmarkImportBegan[]; 43 extern const char kOnBookmarkImportBegan[];
47 extern const char kOnBookmarkImportEnded[]; 44 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 45
53 } // namespace bookmark_api_constants 46 } // namespace bookmark_api_constants
54 } // namespace extensions 47 } // namespace extensions
55 48
56 #endif // CHROME_BROWSER_EXTENSIONS_API_BOOKMARKS_BOOKMARK_API_CONSTANTS_H_ 49 #endif // CHROME_BROWSER_EXTENSIONS_API_BOOKMARKS_BOOKMARK_API_CONSTANTS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698