| Index: chrome/browser/resources/bookmark_manager/js/main.js
|
| diff --git a/chrome/browser/resources/bookmark_manager/js/main.js b/chrome/browser/resources/bookmark_manager/js/main.js
|
| index ce3418323bfcec97cff04eb5cf6c871f306c1b5e..423ea4fe876fb8c8a217e6e98c0b4dbd35c04d25 100644
|
| --- a/chrome/browser/resources/bookmark_manager/js/main.js
|
| +++ b/chrome/browser/resources/bookmark_manager/js/main.js
|
| @@ -44,11 +44,6 @@ var performGlobalUndo;
|
| var linkController;
|
|
|
| /**
|
| - * New Windows are not allowed in Windows 8 metro mode.
|
| - */
|
| -var canOpenNewWindows = true;
|
| -
|
| -/**
|
| * Incognito mode availability can take the following values: ,
|
| * - 'enabled' for when both normal and incognito modes are available;
|
| * - 'disabled' for when incognito mode is disabled;
|
| @@ -577,7 +572,7 @@ function canExecuteShared(e, isSearch) {
|
| updateOpenCommand(e, command,
|
| 'open_in_new_window', 'open_all_new_window',
|
| // Disabled when incognito is forced.
|
| - incognitoModeAvailability == 'forced' || !canOpenNewWindows);
|
| + incognitoModeAvailability == 'forced');
|
| break;
|
|
|
| case 'open-incognito-window-command':
|
| @@ -1536,10 +1531,6 @@ function continueInitializeBookmarkManager(localizedStrings) {
|
| incognitoModeAvailability = result;
|
| });
|
|
|
| - chrome.bookmarkManagerPrivate.canOpenNewWindows(function(result) {
|
| - canOpenNewWindows = result;
|
| - });
|
| -
|
| cr.ui.FocusOutlineManager.forDocument(document);
|
| initializeSplitter();
|
| bmm.addBookmarkModelListeners();
|
|
|