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

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

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 #include "chrome/browser/extensions/api/bookmarks/bookmark_api_constants.h" 5 #include "chrome/browser/extensions/api/bookmarks/bookmark_api_constants.h"
6 6
7 namespace extensions { 7 namespace extensions {
8 namespace bookmark_api_constants { 8 namespace bookmark_api_constants {
9 9
10 const char kIdKey[] = "id"; 10 const char kIdKey[] = "id";
11 const char kIndexKey[] = "index"; 11 const char kIndexKey[] = "index";
12 const char kParentIdKey[] = "parentId"; 12 const char kParentIdKey[] = "parentId";
13 const char kOldIndexKey[] = "oldIndex"; 13 const char kOldIndexKey[] = "oldIndex";
14 const char kOldParentIdKey[] = "oldParentId"; 14 const char kOldParentIdKey[] = "oldParentId";
15 const char kUrlKey[] = "url"; 15 const char kUrlKey[] = "url";
16 const char kTitleKey[] = "title"; 16 const char kTitleKey[] = "title";
17 const char kChildrenKey[] = "children"; 17 const char kChildrenKey[] = "children";
18 const char kChildIdsKey[] = "childIds"; 18 const char kChildIdsKey[] = "childIds";
19 const char kRecursiveKey[] = "recursive"; 19 const char kRecursiveKey[] = "recursive";
20 const char kDateAddedKey[] = "dateAdded"; 20 const char kDateAddedKey[] = "dateAdded";
21 const char kDateFolderModifiedKey[] = "dateGroupModified"; 21 const char kDateFolderModifiedKey[] = "dateGroupModified";
22 // TODO(arv): Move bookmark manager related constants out of this file.
23 const char kSameProfileKey[] = "sameProfile";
24 const char kElementsKey[] = "elements";
25 22
26 const char kNoNodeError[] = "Can't find bookmark for id."; 23 const char kNoNodeError[] = "Can't find bookmark for id.";
27 const char kNoParentError[] = "Can't find parent bookmark for id."; 24 const char kNoParentError[] = "Can't find parent bookmark for id.";
28 const char kFolderNotEmptyError[] = 25 const char kFolderNotEmptyError[] =
29 "Can't remove non-empty folder (use recursive to force)."; 26 "Can't remove non-empty folder (use recursive to force).";
30 const char kInvalidIdError[] = "Bookmark id is invalid."; 27 const char kInvalidIdError[] = "Bookmark id is invalid.";
31 const char kInvalidIndexError[] = "Index out of bounds."; 28 const char kInvalidIndexError[] = "Index out of bounds.";
32 const char kInvalidUrlError[] = "Invalid URL."; 29 const char kInvalidUrlError[] = "Invalid URL.";
33 const char kModifySpecialError[] = "Can't modify the root bookmark folders."; 30 const char kModifySpecialError[] = "Can't modify the root bookmark folders.";
34 const char kEditBookmarksDisabled[] = "Bookmark editing is disabled."; 31 const char kEditBookmarksDisabled[] = "Bookmark editing is disabled.";
35 32
36 const char kOnBookmarkCreated[] = "bookmarks.onCreated"; 33 const char kOnBookmarkCreated[] = "bookmarks.onCreated";
37 const char kOnBookmarkRemoved[] = "bookmarks.onRemoved"; 34 const char kOnBookmarkRemoved[] = "bookmarks.onRemoved";
38 const char kOnBookmarkChanged[] = "bookmarks.onChanged"; 35 const char kOnBookmarkChanged[] = "bookmarks.onChanged";
39 const char kOnBookmarkMoved[] = "bookmarks.onMoved"; 36 const char kOnBookmarkMoved[] = "bookmarks.onMoved";
40 const char kOnBookmarkChildrenReordered[] = "bookmarks.onChildrenReordered"; 37 const char kOnBookmarkChildrenReordered[] = "bookmarks.onChildrenReordered";
41 const char kOnBookmarkImportBegan[] = "bookmarks.onImportBegan"; 38 const char kOnBookmarkImportBegan[] = "bookmarks.onImportBegan";
42 const char kOnBookmarkImportEnded[] = "bookmarks.onImportEnded"; 39 const char kOnBookmarkImportEnded[] = "bookmarks.onImportEnded";
43 40
44 // TODO(arv): Move bookmark manager related constants out of this file.
45 const char kOnBookmarkDragEnter[] = "bookmarkManagerPrivate.onDragEnter";
46 const char kOnBookmarkDragLeave[] = "bookmarkManagerPrivate.onDragLeave";
47 const char kOnBookmarkDrop[] = "bookmarkManagerPrivate.onDrop";
48
49 } // namespace bookmark_api_constants 41 } // namespace bookmark_api_constants
50 } // namespace extensions 42 } // namespace extensions
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698