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

Unified Diff: chrome/browser/ui/webui/ntp/app_launcher_handler.cc

Issue 7578002: Fix inverted ntp app display logic. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/ntp/app_launcher_handler.cc
diff --git a/chrome/browser/ui/webui/ntp/app_launcher_handler.cc b/chrome/browser/ui/webui/ntp/app_launcher_handler.cc
index 71a1184d083426fdecb775975e75ea6c3746fefb..8781dde93a589929bb125e8937e092d876efdcfc 100644
--- a/chrome/browser/ui/webui/ntp/app_launcher_handler.cc
+++ b/chrome/browser/ui/webui/ntp/app_launcher_handler.cc
@@ -105,9 +105,9 @@ bool AppLauncherHandler::IsAppExcludedFromList(const Extension* extension) {
if (!extension->is_app() ||
(ntp3 && extension->id() == extension_misc::kWebStoreAppId) ||
(extension->id() == extension_misc::kCloudPrintAppId)) {
- return false;
+ return true;
}
- return true;
+ return false;
}
void AppLauncherHandler::CreateAppInfo(const Extension* extension,
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698