| Index: chrome/browser/resources/file_manager/js/file_manager_commands.js
|
| diff --git a/chrome/browser/resources/file_manager/js/file_manager_commands.js b/chrome/browser/resources/file_manager/js/file_manager_commands.js
|
| index 964af706b06878fbee6098b430200a212440721b..23170fcc39b0fac20367c77586a75a99c52bdb18 100644
|
| --- a/chrome/browser/resources/file_manager/js/file_manager_commands.js
|
| +++ b/chrome/browser/resources/file_manager/js/file_manager_commands.js
|
| @@ -609,10 +609,8 @@ Commands.createFolderShortcutCommand = {
|
| */
|
| canExecute: function(event, fileManager) {
|
| var target = event.target;
|
| - // TODO(yoshiki): remove this after launching folder shortcuts feature.
|
| - if (!fileManager.isFolderShortcutsEnabled() ||
|
| - (!target instanceof NavigationListItem &&
|
| - !target instanceof DirectoryItem)) {
|
| + if (!target instanceof NavigationListItem &&
|
| + !target instanceof DirectoryItem) {
|
| event.command.setHidden(true);
|
| return;
|
| }
|
| @@ -660,10 +658,8 @@ Commands.removeFolderShortcutCommand = {
|
| */
|
| canExecute: function(event, fileManager) {
|
| var target = event.target;
|
| - // TODO(yoshiki): remove this after launching folder shortcut feature.
|
| - if (!fileManager.isFolderShortcutsEnabled() ||
|
| - (!target instanceof NavigationListItem &&
|
| - !target instanceof DirectoryItem)) {
|
| + if (!target instanceof NavigationListItem &&
|
| + !target instanceof DirectoryItem) {
|
| event.command.setHidden(true);
|
| return;
|
| }
|
|
|