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

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

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
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 261d1b003dd0cb400bb9228b808664de4035153e..a2ea5be8e9fe5424c5eae2df8af0259c10f6367f 100644
--- a/chrome/browser/ui/webui/ntp/app_launcher_handler.cc
+++ b/chrome/browser/ui/webui/ntp/app_launcher_handler.cc
@@ -378,20 +378,6 @@ void AppLauncherHandler::FillAppDictionary(base::DictionaryValue* dictionary) {
dictionary->Set("apps", list);
- // TODO(estade): remove these settings when the old NTP is removed. The new
- // NTP does it in js.
-#if defined(OS_MACOSX)
- // App windows are not yet implemented on mac.
- dictionary->SetBoolean("disableAppWindowLaunch", true);
- dictionary->SetBoolean("disableCreateAppShortcut", true);
-#endif
-
-#if defined(OS_CHROMEOS)
- // Making shortcut does not make sense on ChromeOS because it does not have
- // a desktop.
- dictionary->SetBoolean("disableCreateAppShortcut", true);
-#endif
-
const base::ListValue* app_page_names =
prefs->GetList(prefs::kNtpAppPageNames);
if (!app_page_names || !app_page_names->GetSize()) {
« no previous file with comments | « chrome/browser/ui/app_list/app_list_service_mac.mm ('k') | chrome/browser/ui/webui/ntp/ntp_resource_cache.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698