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

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: Simplify by using web_app functionality and remove app_shim_util stuff. Created 7 years, 7 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
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 not to send a LaunchApp message.
33 extern const char kNoLaunchApp[];
jackhou1 2013/05/17 05:49:33 Is this the right place for this switch?
benwells 2013/05/17 05:59:41 I'm not sure. Does the shim have other switches, a
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
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698