| OLD | NEW |
| 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 */ |
| (...skipping 12 matching lines...) Expand all Loading... |
| 23 EDIT: 'edit', | 23 EDIT: 'edit', |
| 24 COPY: 'copy', | 24 COPY: 'copy', |
| 25 DELETE: 'delete', | 25 DELETE: 'delete', |
| 26 OPEN_NEW_TAB: 'open-new-tab', | 26 OPEN_NEW_TAB: 'open-new-tab', |
| 27 OPEN_NEW_WINDOW: 'open-new-window', | 27 OPEN_NEW_WINDOW: 'open-new-window', |
| 28 OPEN_INCOGNITO: 'open-incognito', | 28 OPEN_INCOGNITO: 'open-incognito', |
| 29 UNDO: 'undo', | 29 UNDO: 'undo', |
| 30 REDO: 'redo', | 30 REDO: 'redo', |
| 31 // OPEN triggers when you double-click an item. | 31 // OPEN triggers when you double-click an item. |
| 32 OPEN: 'open', | 32 OPEN: 'open', |
| 33 SELECT_ALL: 'select-all', |
| 34 DESELECT_ALL: 'deselect-all', |
| 33 }; | 35 }; |
| 34 | 36 |
| 35 /** | 37 /** |
| 36 * Mirrors the C++ enum from IncognitoModePrefs. | 38 * Mirrors the C++ enum from IncognitoModePrefs. |
| 37 * @enum {number} | 39 * @enum {number} |
| 38 * @const | 40 * @const |
| 39 */ | 41 */ |
| 40 var IncognitoAvailability = { | 42 var IncognitoAvailability = { |
| 41 ENABLED: 0, | 43 ENABLED: 0, |
| 42 DISABLED: 1, | 44 DISABLED: 1, |
| 43 FORCED: 2, | 45 FORCED: 2, |
| 44 }; | 46 }; |
| 45 | 47 |
| 46 /** @const */ | 48 /** @const */ |
| 47 var LOCAL_STORAGE_CLOSED_FOLDERS_KEY = 'closedState'; | 49 var LOCAL_STORAGE_CLOSED_FOLDERS_KEY = 'closedState'; |
| 48 | 50 |
| 49 /** @const */ | 51 /** @const */ |
| 50 var LOCAL_STORAGE_TREE_WIDTH_KEY = 'treeWidth'; | 52 var LOCAL_STORAGE_TREE_WIDTH_KEY = 'treeWidth'; |
| 51 | 53 |
| 52 /** @const */ | 54 /** @const */ |
| 53 var ROOT_NODE_ID = '0'; | 55 var ROOT_NODE_ID = '0'; |
| OLD | NEW |