diff options
author | mrossetti@chromium.org <mrossetti@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-04-11 01:54:33 +0000 |
---|---|---|
committer | mrossetti@chromium.org <mrossetti@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-04-11 01:54:33 +0000 |
commit | caf6a6aadaa15f9e3ffe92ed938e5151cf8d05ea (patch) | |
tree | 34d3eb6f8ce1e102aa7cd77b028c1a1f109039a4 /chrome/browser/cocoa/bookmark_folder_target.mm | |
parent | ed93b29f568bd25cb637675494ef90d812534aba (diff) | |
download | chromium_src-caf6a6aadaa15f9e3ffe92ed938e5151cf8d05ea.zip chromium_src-caf6a6aadaa15f9e3ffe92ed938e5151cf8d05ea.tar.gz chromium_src-caf6a6aadaa15f9e3ffe92ed938e5151cf8d05ea.tar.bz2 |
Once the initial URL is opened in a new window, insure that subsequent URLs are opened in the new window instead of the original window. This change hinges on having URL opening code return the browser into which the URL was opened so that subsequent openings may now into which browser to do so.
BUG=39901
TEST=Bring up context menu on a folder with two or more bookmarks and select "Open All in Incognito Window". Insure that all of the URLs are opened in the newly created, top-most window. Verify that no new tabs were created in the original window. Perform this same test using "Open All in New Window".
Review URL: http://codereview.chromium.org/1634004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@44201 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/cocoa/bookmark_folder_target.mm')
-rw-r--r-- | chrome/browser/cocoa/bookmark_folder_target.mm | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/chrome/browser/cocoa/bookmark_folder_target.mm b/chrome/browser/cocoa/bookmark_folder_target.mm index 54a868e..ae3e328 100644 --- a/chrome/browser/cocoa/bookmark_folder_target.mm +++ b/chrome/browser/cocoa/bookmark_folder_target.mm @@ -52,8 +52,7 @@ WindowOpenDisposition disposition = event_utils::WindowOpenDispositionFromNSEvent([NSApp currentEvent]); if (disposition == NEW_BACKGROUND_TAB) { - [controller_ openBookmarkNodesRecursive:[sender bookmarkNode] - disposition:disposition]; + [controller_ openAll:[sender bookmarkNode] disposition:disposition]; return; } |