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

Unified Diff: base/mac/launch_services_util.h

Issue 2416313002: Prepare chrome_main_app_mode_mac.mm for 10.9 (Closed)
Patch Set: Cleaned up Created 4 years, 2 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 | base/mac/launch_services_util.mm » ('j') | base/mac/launch_services_util.mm » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/mac/launch_services_util.h
diff --git a/base/mac/launch_services_util.h b/base/mac/launch_services_util.h
index 30d1eec12d7efba7b24e6f9034c0f95ee5626e6b..bc8e90693fb549a5d13d1184efd94a1e7875f45f 100644
--- a/base/mac/launch_services_util.h
+++ b/base/mac/launch_services_util.h
@@ -18,12 +18,14 @@ namespace mac {
// Launches the application bundle at |bundle_path|, passing argv[1..] from
// |command_line| as command line arguments if the app isn't already running.
// |launch_options| are passed directly to
-// -[NSWorkspace launchApplicationAtURL:options:configuration:error:].
+// -[NSWorkspace launchApplicationAtURL:options:configuration:error:]. If
+// provided, |descriptor| is also passed directly to it.
// Returns a valid process if the app was successfully launched.
BASE_EXPORT Process
OpenApplicationWithPath(const FilePath& bundle_path,
const CommandLine& command_line,
- NSWorkspaceLaunchOptions launch_options);
+ NSWorkspaceLaunchOptions launch_options,
+ NSAppleEventDescriptor* descriptor);
} // namespace mac
} // namespace base
« no previous file with comments | « no previous file | base/mac/launch_services_util.mm » ('j') | base/mac/launch_services_util.mm » ('J')

Powered by Google App Engine
This is Rietveld 408576698