Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 Loading... | |
| 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 // The process ID of the Chrome process that launched the app shim. | |
| 33 extern const char kChromeProcessId[]; | |
| 34 | |
| 32 // Instructs the app shim to send LaunchApp with launch_now = false. This | 35 // Instructs the app shim to send LaunchApp with launch_now = false. This |
| 33 // associates the shim without launching the app. | 36 // associates the shim without launching the app. |
| 34 extern const char kNoLaunchApp[]; | 37 extern const char kNoLaunchApp[]; |
|
tapted
2013/08/22 06:17:12
Hm.. do we need a separate flag for this still?
I
jackhou1
2013/08/22 06:52:53
Done.
| |
| 35 | 38 |
| 36 // The display name of the bundle as shown in Finder and the Dock. For localized | 39 // The display name of the bundle as shown in Finder and the Dock. For localized |
| 37 // bundles, this overrides the bundle's file name. | 40 // bundles, this overrides the bundle's file name. |
| 38 extern NSString* const kCFBundleDisplayNameKey; | 41 extern NSString* const kCFBundleDisplayNameKey; |
| 39 | 42 |
| 40 // The key specifying whether the display name should be localized. This makes | 43 // 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. | 44 // Finder look in localization folders in the app bundle for a display name. |
| 42 // (e.g. Content/Resources/en.lproj/) | 45 // (e.g. Content/Resources/en.lproj/) |
| 43 extern NSString* const kLSHasLocalizedDisplayNameKey; | 46 extern NSString* const kLSHasLocalizedDisplayNameKey; |
| 44 | 47 |
| (...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 122 // Path to the app's user data directory. | 125 // Path to the app's user data directory. |
| 123 base::FilePath user_data_dir; | 126 base::FilePath user_data_dir; |
| 124 | 127 |
| 125 // Directory of the profile associated with the app. | 128 // Directory of the profile associated with the app. |
| 126 base::FilePath profile_dir; | 129 base::FilePath profile_dir; |
| 127 }; | 130 }; |
| 128 | 131 |
| 129 } // namespace app_mode | 132 } // namespace app_mode |
| 130 | 133 |
| 131 #endif // CHROME_COMMON_MAC_APP_MODE_COMMON_H_ | 134 #endif // CHROME_COMMON_MAC_APP_MODE_COMMON_H_ |
| OLD | NEW |