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

Side by Side Diff: chrome/common/mac/app_mode_common.h

Issue 22903025: Send Chrome's process id to the app shim. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address comments Created 7 years, 3 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/browser/web_applications/web_app_mac.mm ('k') | chrome/common/mac/app_mode_common.mm » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_COMMON_MAC_APP_MODE_COMMON_H_ 5 #ifndef CHROME_COMMON_MAC_APP_MODE_COMMON_H_
6 #define CHROME_COMMON_MAC_APP_MODE_COMMON_H_ 6 #define CHROME_COMMON_MAC_APP_MODE_COMMON_H_
7 7
8 #import <Foundation/Foundation.h> 8 #import <Foundation/Foundation.h>
9 9
10 #include "base/files/file_path.h" 10 #include "base/files/file_path.h"
(...skipping 11 matching lines...) Expand all
22 const AEEventClass kAEChromeAppClass = 'cApp'; 22 const AEEventClass kAEChromeAppClass = 'cApp';
23 const AEEventID kAEChromeAppPing = 'ping'; 23 const AEEventID kAEChromeAppPing = 'ping';
24 24
25 // The IPC socket used to communicate between app shims and Chrome will be 25 // The IPC socket used to communicate between app shims and Chrome will be
26 // created under the user data directory with this name. 26 // created under the user data directory with this name.
27 extern const char kAppShimSocketName[]; 27 extern const char kAppShimSocketName[];
28 28
29 // Special app mode id used for the App Launcher. 29 // Special app mode id used for the App Launcher.
30 extern const char kAppListModeId[]; 30 extern const char kAppListModeId[];
31 31
32 // Instructs the app shim to send LaunchApp with launch_now = false. This 32 // The process ID of the Chrome process that launched the app shim.
33 // associates the shim without launching the app. 33 // The presence of this switch instructs the app shim to send LaunchApp with
34 extern const char kNoLaunchApp[]; 34 // launch_now = false. This associates the shim without launching the app.
35 extern const char kLaunchedByChromeProcessId[];
35 36
36 // The display name of the bundle as shown in Finder and the Dock. For localized 37 // The display name of the bundle as shown in Finder and the Dock. For localized
37 // bundles, this overrides the bundle's file name. 38 // bundles, this overrides the bundle's file name.
38 extern NSString* const kCFBundleDisplayNameKey; 39 extern NSString* const kCFBundleDisplayNameKey;
39 40
40 // The key specifying whether the display name should be localized. This makes 41 // The key specifying whether the display name should be localized. This makes
41 // Finder look in localization folders in the app bundle for a display name. 42 // Finder look in localization folders in the app bundle for a display name.
42 // (e.g. Content/Resources/en.lproj/) 43 // (e.g. Content/Resources/en.lproj/)
43 extern NSString* const kLSHasLocalizedDisplayNameKey; 44 extern NSString* const kLSHasLocalizedDisplayNameKey;
44 45
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 // Path to the app's user data directory. 123 // Path to the app's user data directory.
123 base::FilePath user_data_dir; 124 base::FilePath user_data_dir;
124 125
125 // Directory of the profile associated with the app. 126 // Directory of the profile associated with the app.
126 base::FilePath profile_dir; 127 base::FilePath profile_dir;
127 }; 128 };
128 129
129 } // namespace app_mode 130 } // namespace app_mode
130 131
131 #endif // CHROME_COMMON_MAC_APP_MODE_COMMON_H_ 132 #endif // CHROME_COMMON_MAC_APP_MODE_COMMON_H_
OLDNEW
« no previous file with comments | « chrome/browser/web_applications/web_app_mac.mm ('k') | chrome/common/mac/app_mode_common.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698