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

Side by Side Diff: chrome/browser/extensions/extension_bookmarks_module_constants.h

Issue 8374023: Move bookmarks extension api implementation to bookmarks dir (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix deps, rebase Created 9 years, 2 months 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 | Annotate | Revision Log
OLDNEW
(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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698