diff options
author | arv@chromium.org <arv@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-02-20 02:06:16 +0000 |
---|---|---|
committer | arv@chromium.org <arv@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-02-20 02:06:16 +0000 |
commit | ced90ae1159e8967837cd13b9155956467a811f9 (patch) | |
tree | b052ff281b583fdcc12f6bea883f83db663ae92f /chrome/browser/extensions/extension_bookmarks_module_constants.cc | |
parent | ddf796cffe2f905a36764bc2e46cc8325a560c51 (diff) | |
download | chromium_src-ced90ae1159e8967837cd13b9155956467a811f9.zip chromium_src-ced90ae1159e8967837cd13b9155956467a811f9.tar.gz chromium_src-ced90ae1159e8967837cd13b9155956467a811f9.tar.bz2 |
Bookmark Manager Drag and Drop backend.
This adds the following methods to chrome.experimental.bookmarkManager:
startDrag(idList)
drop(parentId, opt_index)
as well as the following events:
onDragEnter(function(BookmarkDragData))
onDragLeave(function(BookmarkDragData))
onDrop(function(BookmarkDragData))
BUG=32194
TEST=None
Review URL: http://codereview.chromium.org/596105
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@39540 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/extensions/extension_bookmarks_module_constants.cc')
-rw-r--r-- | chrome/browser/extensions/extension_bookmarks_module_constants.cc | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/chrome/browser/extensions/extension_bookmarks_module_constants.cc b/chrome/browser/extensions/extension_bookmarks_module_constants.cc index 9440f06..3e20f3d 100644 --- a/chrome/browser/extensions/extension_bookmarks_module_constants.cc +++ b/chrome/browser/extensions/extension_bookmarks_module_constants.cc @@ -18,6 +18,9 @@ const wchar_t kChildIdsKey[] = L"childIds"; const wchar_t kRecursiveKey[] = L"recursive"; const wchar_t kDateAddedKey[] = L"dateAdded"; const wchar_t kDateGroupModifiedKey[] = L"dateGroupModified"; +// TODO(arv): Move bookmark manager related constants out of this file. +const wchar_t kSameProfileKey[] = L"sameProfile"; +const wchar_t kElementsKey[] = L"elements"; const char kNoNodeError[] = "Can't find bookmark for id."; const char kNoParentError[] = "Can't find parent bookmark for id."; @@ -33,8 +36,15 @@ const char kOnBookmarkRemoved[] = "bookmarks.onRemoved"; const char kOnBookmarkChanged[] = "bookmarks.onChanged"; const char kOnBookmarkMoved[] = "bookmarks.onMoved"; const char kOnBookmarkChildrenReordered[] = "bookmarks.onChildrenReordered"; +// TODO(arv): Move bookmark manager related constants out of this file. const char kOnBookmarkImportBegan[] = "experimental.bookmarkManager.onImportBegan"; const char kOnBookmarkImportEnded[] = "experimental.bookmarkManager.onImportEnded"; +const char kOnBookmarkDragEnter[] = + "experimental.bookmarkManager.onDragEnter"; +const char kOnBookmarkDragLeave[] = + "experimental.bookmarkManager.onDragLeave"; +const char kOnBookmarkDrop[] = + "experimental.bookmarkManager.onDrop"; } // namespace extension_bookmarks_module_constants |