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

Unified Diff: chrome/browser/resources/md_bookmarks/toolbar.js

Issue 2898303004: [MD Bookmarks] Add toasts. (Closed)
Patch Set: fix nits Created 3 years, 6 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/resources/md_bookmarks/toast_manager.js ('k') | chrome/browser/ui/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/md_bookmarks/toolbar.js
diff --git a/chrome/browser/resources/md_bookmarks/toolbar.js b/chrome/browser/resources/md_bookmarks/toolbar.js
index bc489049cb71018eb7188a5c14d84bf35c53a977..2ec046977b9e4238e7cad7c2f9401010c80f8b7f 100644
--- a/chrome/browser/resources/md_bookmarks/toolbar.js
+++ b/chrome/browser/resources/md_bookmarks/toolbar.js
@@ -67,6 +67,8 @@ Polymer({
onSortTap_: function() {
chrome.bookmarkManagerPrivate.sortChildren(
assert(this.getState().selectedFolder));
+ bookmarks.ToastManager.getInstance().show(
+ loadTimeData.getString('toastFolderSorted'), true);
this.closeDropdownMenu_();
},
« no previous file with comments | « chrome/browser/resources/md_bookmarks/toast_manager.js ('k') | chrome/browser/ui/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698