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

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

Issue 3808009: Adds --enable-app-launcher command line switch (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: renamed a variable Created 10 years, 2 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/dom_ui/app_launcher_handler.cc ('k') | chrome/common/chrome_switches.h » ('j') | 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 da91af7e8ce2737f6c9b517c09ee58864288a1f9..212cecae6f023d80eb6c37fdd6f33738b3094852 100644
--- a/chrome/browser/resources/ntp/apps.js
+++ b/chrome/browser/resources/ntp/apps.js
@@ -19,7 +19,7 @@ function getAppsCallback(data) {
});
clearClosedMenu(apps.menu);
- if (data.apps.length == 0) {
+ if (data.apps.length == 0 && !data.showLauncher) {
appsSection.classList.add('disabled');
layoutSections();
} else {
« no previous file with comments | « chrome/browser/dom_ui/app_launcher_handler.cc ('k') | chrome/common/chrome_switches.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698