Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(152)

Unified Diff: chrome/browser/bookmarks/bookmark_utils.h

Issue 6799017: Changes 'Open all' bookmarks to not recurse through nested folders. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/bookmarks/bookmark_utils.h
diff --git a/chrome/browser/bookmarks/bookmark_utils.h b/chrome/browser/bookmarks/bookmark_utils.h
index 6e14bc9aedbcd56bf0da98fb29f5e5617a59b692..357b7df937a69593e230d4b7869bdd06b29e5357 100644
--- a/chrome/browser/bookmarks/bookmark_utils.h
+++ b/chrome/browser/bookmarks/bookmark_utils.h
@@ -78,18 +78,19 @@ void DragBookmarks(Profile* profile,
const std::vector<const BookmarkNode*>& nodes,
gfx::NativeView view);
-// Recursively opens all bookmarks. |initial_disposition| dictates how the
-// first URL is opened, all subsequent URLs are opened as background tabs.
-// |navigator| is used to open the URLs. If |navigator| is NULL the last
-// tabbed browser with the profile |profile| is used. If there is no browser
-// with the specified profile a new one is created.
+// Opens all the bookmarks in |nodes| that are of type url and all the child
+// bookmarks that are of type url for folders in |nodes|. |initial_disposition|
+// dictates how the first URL is opened, all subsequent URLs are opened as
+// background tabs. |navigator| is used to open the URLs. If |navigator| is
+// NULL the last tabbed browser with the profile |profile| is used. If there is
+// no browser with the specified profile a new one is created.
void OpenAll(gfx::NativeWindow parent,
Profile* profile,
PageNavigator* navigator,
const std::vector<const BookmarkNode*>& nodes,
WindowOpenDisposition initial_disposition);
-// Convenience for opening a single BookmarkNode.
+// Convenience for |OpenAll| with a single BookmarkNode.
void OpenAll(gfx::NativeWindow parent,
Profile* profile,
PageNavigator* navigator,
« no previous file with comments | « chrome/browser/bookmarks/bookmark_context_menu_controller_unittest.cc ('k') | chrome/browser/bookmarks/bookmark_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698