Index: chrome/browser/resources/ntp4/apps_page.js |
diff --git a/chrome/browser/resources/ntp4/apps_page.js b/chrome/browser/resources/ntp4/apps_page.js |
index 21f5062ab97680733e16d39453d3235d37c38621..4fecaa6c564cf9787144431aef830264304491ec 100644 |
--- a/chrome/browser/resources/ntp4/apps_page.js |
+++ b/chrome/browser/resources/ntp4/apps_page.js |
@@ -150,8 +150,13 @@ cr.define('ntp', function() { |
this.disableNotifications_.hidden = false; |
this.disableNotifications_.checked = notificationsDisabled; |
} |
- this.createShortcutSeparator_.hidden = this.createShortcut_.hidden = |
- !app.appData.packagedApp; |
+ if (cr.isMac) { |
+ // On Windows and Linux, these should always be visible. On ChromeOS, |
+ // they are never created. On Mac, shortcuts can only be created for |
+ // new-style packaged apps, so hide the menu item. |
+ this.createShortcutSeparator_.hidden = this.createShortcut_.hidden = |
+ !app.appData.packagedApp; |
+ } |
}, |
/** |