diff options
author | mrossetti@chromium.org <mrossetti@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-04-13 00:06:20 +0000 |
---|---|---|
committer | mrossetti@chromium.org <mrossetti@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-04-13 00:06:20 +0000 |
commit | 9eeb363583ae795de539813d14f96bbc24d4bab6 (patch) | |
tree | 18664c2052a9c744bd73ca992b89d111dc0ec7a1 /chrome/browser/cocoa/bookmark_button.h | |
parent | d5e57d9f4b65d80ccb5cff99051c9e3130851253 (diff) | |
download | chromium_src-9eeb363583ae795de539813d14f96bbc24d4bab6.zip chromium_src-9eeb363583ae795de539813d14f96bbc24d4bab6.tar.gz chromium_src-9eeb363583ae795de539813d14f96bbc24d4bab6.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,41104
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/1633009
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@44302 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/cocoa/bookmark_button.h')
-rw-r--r-- | chrome/browser/cocoa/bookmark_button.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/chrome/browser/cocoa/bookmark_button.h b/chrome/browser/cocoa/bookmark_button.h index a5176ac..8cc366db 100644 --- a/chrome/browser/cocoa/bookmark_button.h +++ b/chrome/browser/cocoa/bookmark_button.h @@ -108,10 +108,6 @@ class ThemeProvider; // Return a controller's folder controller for a subfolder, or nil. - (BookmarkBarFolderController*)folderController; -// Recursively open all bookmarks from this folder using the given disposition. -- (void)openBookmarkNodesRecursive:(const BookmarkNode*)node - disposition:(WindowOpenDisposition)disposition; - // Add a new folder controller as triggered by the given folder button. // If there is a current folder controller, close it. - (void)addNewFolderControllerWithParentButton:(BookmarkButton*)parentButton; @@ -122,6 +118,10 @@ class ThemeProvider; // Provide a contextual menu for a bookmark node. May return nil. - (NSMenu*)contextMenuForNode:(const BookmarkNode*)node; +// Open all of the nodes for the given node with disposition. +- (void)openAll:(const BookmarkNode*)node + disposition:(WindowOpenDisposition)disposition; + @end // @protocol BookmarkButtonControllerProtocol |