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

Unified Diff: chrome/browser/ui/startup/startup_browser_creator_impl.cc

Issue 265503003: Enable file_handlers and chrome.app.runtime for QuickOffice. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: With blacklist, test Created 6 years, 8 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/startup/startup_browser_creator_impl.cc
diff --git a/chrome/browser/ui/startup/startup_browser_creator_impl.cc b/chrome/browser/ui/startup/startup_browser_creator_impl.cc
index f281cc0974e47ab2dc81d1f22887399256971f9a..f71d1d75e49a29dc7fb21161d98e76936dab5f1c 100644
--- a/chrome/browser/ui/startup/startup_browser_creator_impl.cc
+++ b/chrome/browser/ui/startup/startup_browser_creator_impl.cc
@@ -494,7 +494,7 @@ bool StartupBrowserCreatorImpl::OpenApplicationWindow(
*out_app_contents = tab_in_app_window;
// Platform apps fire off a launch event which may or may not open a window.
- return (tab_in_app_window != NULL || extension->is_platform_app());
+ return (tab_in_app_window != NULL || LaunchesViaEvent(extension));
}
if (url_string.empty())

Powered by Google App Engine
This is Rietveld 408576698