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

Unified Diff: chrome/browser/resources/ntp/apps.js

Issue 6057002: Disable 'create shortcut' in newtab apps pulldown menu. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/chrome/browser
Patch Set: Also hide <hr> Created 10 years 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/new_new_tab.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/ntp/apps.js
diff --git a/chrome/browser/resources/ntp/apps.js b/chrome/browser/resources/ntp/apps.js
index 2be85fa3b32bcd6cac8768dc0d077d24c036ea34..eef4fa255b834cf1fa5fdd64eff9a0ab4adcaba5 100644
--- a/chrome/browser/resources/ntp/apps.js
+++ b/chrome/browser/resources/ntp/apps.js
@@ -35,6 +35,7 @@ function getAppsCallback(data) {
// The "Create App Shortcut" menu option.
$('apps-create-shortcut-command-menu-item').style.display =
+ $('apps-create-shortcut-command-separator').style.display =
(data.disableCreateAppShortcut ? 'none' : 'inline');
arv (Not doing code reviews) 2010/12/20 19:01:08 This looks wrong. The display of these should neve
kochi 2010/12/21 06:09:33 Good catch! I created a follow-up CL at http://cod
appsMiniview.textContent = '';
« no previous file with comments | « chrome/browser/resources/new_new_tab.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698