| 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 // Instructs the app shim not to send a LaunchApp message. |
| 33 extern const char kNoLaunchApp[]; |
| 34 |
| 32 // The key under which the browser's bundle ID will be stored in the | 35 // The key under which the browser's bundle ID will be stored in the |
| 33 // app mode launcher bundle's Info.plist. | 36 // app mode launcher bundle's Info.plist. |
| 34 extern NSString* const kBrowserBundleIDKey; | 37 extern NSString* const kBrowserBundleIDKey; |
| 35 | 38 |
| 36 // Key for the shortcut ID. | 39 // Key for the shortcut ID. |
| 37 extern NSString* const kCrAppModeShortcutIDKey; | 40 extern NSString* const kCrAppModeShortcutIDKey; |
| 38 | 41 |
| 39 // Key for the app's name. | 42 // Key for the app's name. |
| 40 extern NSString* const kCrAppModeShortcutNameKey; | 43 extern NSString* const kCrAppModeShortcutNameKey; |
| 41 | 44 |
| (...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 106 // Path to the app's user data directory. | 109 // Path to the app's user data directory. |
| 107 base::FilePath user_data_dir; | 110 base::FilePath user_data_dir; |
| 108 | 111 |
| 109 // Directory of the profile associated with the app. | 112 // Directory of the profile associated with the app. |
| 110 base::FilePath profile_dir; | 113 base::FilePath profile_dir; |
| 111 }; | 114 }; |
| 112 | 115 |
| 113 } // namespace app_mode | 116 } // namespace app_mode |
| 114 | 117 |
| 115 #endif // CHROME_COMMON_MAC_APP_MODE_COMMON_H_ | 118 #endif // CHROME_COMMON_MAC_APP_MODE_COMMON_H_ |
| OLD | NEW |