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

Side by Side Diff: chrome/browser/resources/md_bookmarks/constants.js

Issue 2834493006: MD Bookmarks: Pull context menu into separate element (Closed)
Patch Set: Rebase Created 3 years, 7 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
OLDNEW
1 // Copyright 2017 The Chromium Authors. All rights reserved. 1 // Copyright 2017 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 /** 5 /**
6 * Enumeration of valid drop locations relative to an element. These are 6 * Enumeration of valid drop locations relative to an element. These are
7 * bit masks to allow combining multiple locations in a single value. 7 * bit masks to allow combining multiple locations in a single value.
8 * @enum {number} 8 * @enum {number}
9 * @const 9 * @const
10 */ 10 */
11 var DropPosition = { 11 var DropPosition = {
12 NONE: 0, 12 NONE: 0,
13 ABOVE: 1, 13 ABOVE: 1,
14 ON: 2, 14 ON: 2,
15 BELOW: 4, 15 BELOW: 4,
16 }; 16 };
17 17
18 /**
19 * @enum {string}
20 * @const
21 */
22 var Command = {
23 EDIT: 'edit',
24 COPY: 'copy',
25 DELETE: 'delete',
26 };
27
18 /** @const */ 28 /** @const */
19 var LOCAL_STORAGE_CLOSED_FOLDERS_KEY = 'closedState'; 29 var LOCAL_STORAGE_CLOSED_FOLDERS_KEY = 'closedState';
20 30
21 /** @const */ 31 /** @const */
22 var LOCAL_STORAGE_TREE_WIDTH_KEY = 'treeWidth'; 32 var LOCAL_STORAGE_TREE_WIDTH_KEY = 'treeWidth';
23 33
24 /** @const */ 34 /** @const */
25 var ROOT_NODE_ID = '0'; 35 var ROOT_NODE_ID = '0';
OLDNEW
« no previous file with comments | « chrome/browser/resources/md_bookmarks/compiled_resources2.gyp ('k') | chrome/browser/resources/md_bookmarks/item.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698