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

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

Issue 14579006: Start app shim when app launched. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address comment Created 7 years, 6 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/chrome_common.gypi ('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
33 // associates the shim without launching the app.
34 extern const char kNoLaunchApp[];
35
32 // The key under which the browser's bundle ID will be stored in the 36 // The key under which the browser's bundle ID will be stored in the
33 // app mode launcher bundle's Info.plist. 37 // app mode launcher bundle's Info.plist.
34 extern NSString* const kBrowserBundleIDKey; 38 extern NSString* const kBrowserBundleIDKey;
35 39
36 // Key for the shortcut ID. 40 // Key for the shortcut ID.
37 extern NSString* const kCrAppModeShortcutIDKey; 41 extern NSString* const kCrAppModeShortcutIDKey;
38 42
39 // Key for the app's name. 43 // Key for the app's name.
40 extern NSString* const kCrAppModeShortcutNameKey; 44 extern NSString* const kCrAppModeShortcutNameKey;
41 45
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 // Path to the app's user data directory. 110 // Path to the app's user data directory.
107 base::FilePath user_data_dir; 111 base::FilePath user_data_dir;
108 112
109 // Directory of the profile associated with the app. 113 // Directory of the profile associated with the app.
110 base::FilePath profile_dir; 114 base::FilePath profile_dir;
111 }; 115 };
112 116
113 } // namespace app_mode 117 } // namespace app_mode
114 118
115 #endif // CHROME_COMMON_MAC_APP_MODE_COMMON_H_ 119 #endif // CHROME_COMMON_MAC_APP_MODE_COMMON_H_
OLDNEW
« no previous file with comments | « chrome/chrome_common.gypi ('k') | chrome/common/mac/app_mode_common.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698