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

Unified Diff: chrome/browser/resources/ntp4/apps_page.js

Issue 298953002: Remove --disable-app-shims. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Sync and rebase Created 6 years, 7 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/apps/shortcut_manager.cc ('k') | chrome/browser/ui/app_list/app_list_service_mac.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 210e30586298c3e0b075aa131fb51620620abd88..260c660512c7db54444c5bd0c59a84f7c14f2c94 100644
--- a/chrome/browser/resources/ntp4/apps_page.js
+++ b/chrome/browser/resources/ntp4/apps_page.js
@@ -150,12 +150,9 @@ cr.define('ntp', function() {
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. Also check if
- // loadTimeData explicitly disables this as the feature is not yet
- // enabled by default on Mac.
+ // new-style packaged apps, so hide the menu item.
this.createShortcutSeparator_.hidden = this.createShortcut_.hidden =
- !app.appData.packagedApp ||
- loadTimeData.getBoolean('disableCreateAppShortcut');
+ !app.appData.packagedApp;
}
},
« no previous file with comments | « chrome/browser/apps/shortcut_manager.cc ('k') | chrome/browser/ui/app_list/app_list_service_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698