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

Unified Diff: chrome/browser/ui/browser.cc

Issue 7919028: Revert 101581 - Add --use-more-webui runtime flag to toggle WebUI replacements for native dialogs. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 3 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
« no previous file with comments | « chrome/browser/sync/test/integration/bookmarks_helper.cc ('k') | chrome/browser/ui/browser_dialogs.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/browser.cc
===================================================================
--- chrome/browser/ui/browser.cc (revision 101584)
+++ chrome/browser/ui/browser.cc (working copy)
@@ -3113,12 +3113,13 @@
BookmarkModel* model = profile()->GetBookmarkModel();
DCHECK(model && model->IsLoaded());
- BookmarkEditor::EditDetails details =
- BookmarkEditor::EditDetails::AddFolder(model->GetParentForNewNodes());
+ BookmarkEditor::EditDetails details;
+ details.type = BookmarkEditor::EditDetails::NEW_FOLDER;
bookmark_utils::GetURLsForOpenTabs(this, &(details.urls));
DCHECK(!details.urls.empty());
- BookmarkEditor::Show(window()->GetNativeHandle(), profile_, details,
+ BookmarkEditor::Show(window()->GetNativeHandle(), profile_,
+ model->GetParentForNewNodes(), details,
BookmarkEditor::SHOW_TREE);
}
« no previous file with comments | « chrome/browser/sync/test/integration/bookmarks_helper.cc ('k') | chrome/browser/ui/browser_dialogs.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698