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

Unified Diff: chrome/browser/extensions/launch_util.cc

Issue 777543002: Create hosted app shims on Mac. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removed global static initialisers Created 6 years 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/extensions/launch_util.cc
diff --git a/chrome/browser/extensions/launch_util.cc b/chrome/browser/extensions/launch_util.cc
index 67eb80839d5fff7f7197839c1aae092593ca0fe7..98a47e7006e5560a0f0fcb2a41c47b4aff9b1d2d 100644
--- a/chrome/browser/extensions/launch_util.cc
+++ b/chrome/browser/extensions/launch_util.cc
@@ -56,14 +56,6 @@ LaunchType GetLaunchType(const ExtensionPrefs* prefs,
if (value >= LAUNCH_TYPE_FIRST && value < NUM_LAUNCH_TYPES)
result = static_cast<LaunchType>(value);
-#if defined(OS_MACOSX)
- // App windows are not yet supported on mac. Pref sync could make
- // the launch type LAUNCH_TYPE_WINDOW, even if there is no UI to set it
- // on mac.
- if (!extension->is_platform_app() && result == LAUNCH_TYPE_WINDOW)
- result = LAUNCH_TYPE_REGULAR;
-#endif
-
return result;
}

Powered by Google App Engine
This is Rietveld 408576698