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

Unified Diff: chrome/browser/resources/ntp_android/ntp_android.js

Issue 10829326: Add the webui handler for Android's bookmark section on the NTP. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 4 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 | « no previous file | chrome/browser/ui/webui/ntp/android/bookmarks_handler.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/ntp_android/ntp_android.js
diff --git a/chrome/browser/resources/ntp_android/ntp_android.js b/chrome/browser/resources/ntp_android/ntp_android.js
index f5411fe9cd36836a0741512828b46e4d7dfa188f..cfed89423df0139563ff4c62c1e0cf704a6a99d9 100644
--- a/chrome/browser/resources/ntp_android/ntp_android.js
+++ b/chrome/browser/resources/ntp_android/ntp_android.js
@@ -472,7 +472,7 @@ cr.define('ntp', function() {
browseToBookmarkFolder(item.id);
} else {
if (bookmarkShortcutMode) {
- chrome.send('shortcutToBookmark', [item.id]);
+ chrome.send('createHomeScreenBookmarkShortcut', [item.id]);
} else if (!!item.url) {
window.location = item.url;
}
@@ -1107,7 +1107,7 @@ cr.define('ntp', function() {
case ContextMenuItemIds.BOOKMARK_SHORTCUT:
if (contextMenuUrl != null)
- chrome.send('shortcutToBookmark', [contextMenuItem.id]);
+ chrome.send('createHomeScreenBookmarkShortcut', [contextMenuItem.id]);
break;
case ContextMenuItemIds.RECENTLY_CLOSED_REMOVE:
« no previous file with comments | « no previous file | chrome/browser/ui/webui/ntp/android/bookmarks_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698