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

Unified Diff: base/mac/launch_services_util.cc

Issue 20037002: Fix app shim focus. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 5 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 | « base/mac/launch_services_util.h ('k') | chrome/browser/web_applications/web_app_mac.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/mac/launch_services_util.cc
diff --git a/base/mac/launch_services_util.cc b/base/mac/launch_services_util.cc
index 0081500f2d99340238629bae14e30725e4164abb..dfd5dcd411202e6470637553b93e104b3c9f434b 100644
--- a/base/mac/launch_services_util.cc
+++ b/base/mac/launch_services_util.cc
@@ -16,6 +16,7 @@ namespace mac {
bool OpenApplicationWithPath(const base::FilePath& bundle_path,
const CommandLine& command_line,
+ LSLaunchFlags launch_flags,
ProcessSerialNumber* out_psn) {
FSRef app_fsref;
if (!base::mac::FSRefFromPath(bundle_path.value(), &app_fsref)) {
@@ -45,7 +46,7 @@ bool OpenApplicationWithPath(const base::FilePath& bundle_path,
LSApplicationParameters ls_parameters = {
0, // version
- kLSLaunchDefaults,
+ launch_flags,
&app_fsref,
NULL, // asyncLaunchRefCon
NULL, // environment
« no previous file with comments | « base/mac/launch_services_util.h ('k') | chrome/browser/web_applications/web_app_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698