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

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

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/common/mac/app_mode_common.h ('k') | no next file » | 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 #include "chrome/common/mac/app_mode_common.h" 5 #include "chrome/common/mac/app_mode_common.h"
6 6
7 namespace app_mode { 7 namespace app_mode {
8 8
9 const char kAppShimSocketName[] = "App Shim Socket"; 9 const char kAppShimSocketName[] = "App Shim Socket";
10 10
11 const char kAppListModeId[] = "app_list"; 11 const char kAppListModeId[] = "app_list";
12 12
13 const char kNoLaunchApp[] = "no-launch-app";
14
13 NSString* const kBrowserBundleIDKey = @"CrBundleIdentifier"; 15 NSString* const kBrowserBundleIDKey = @"CrBundleIdentifier";
14 NSString* const kCrAppModeShortcutIDKey = @"CrAppModeShortcutID"; 16 NSString* const kCrAppModeShortcutIDKey = @"CrAppModeShortcutID";
15 NSString* const kCrAppModeShortcutNameKey = @"CrAppModeShortcutName"; 17 NSString* const kCrAppModeShortcutNameKey = @"CrAppModeShortcutName";
16 NSString* const kCrAppModeShortcutURLKey = @"CrAppModeShortcutURL"; 18 NSString* const kCrAppModeShortcutURLKey = @"CrAppModeShortcutURL";
17 NSString* const kCrAppModeUserDataDirKey = @"CrAppModeUserDataDir"; 19 NSString* const kCrAppModeUserDataDirKey = @"CrAppModeUserDataDir";
18 NSString* const kCrAppModeProfileDirKey = @"CrAppModeProfileDir"; 20 NSString* const kCrAppModeProfileDirKey = @"CrAppModeProfileDir";
19 21
20 NSString* const kLastRunAppBundlePathPrefsKey = @"LastRunAppBundlePath"; 22 NSString* const kLastRunAppBundlePathPrefsKey = @"LastRunAppBundlePath";
21 23
22 NSString* const kShortcutIdPlaceholder = @"APP_MODE_SHORTCUT_ID"; 24 NSString* const kShortcutIdPlaceholder = @"APP_MODE_SHORTCUT_ID";
23 NSString* const kShortcutNamePlaceholder = @"APP_MODE_SHORTCUT_NAME"; 25 NSString* const kShortcutNamePlaceholder = @"APP_MODE_SHORTCUT_NAME";
24 NSString* const kShortcutURLPlaceholder = @"APP_MODE_SHORTCUT_URL"; 26 NSString* const kShortcutURLPlaceholder = @"APP_MODE_SHORTCUT_URL";
25 NSString* const kShortcutBrowserBundleIDPlaceholder = 27 NSString* const kShortcutBrowserBundleIDPlaceholder =
26 @"APP_MODE_BROWSER_BUNDLE_ID"; 28 @"APP_MODE_BROWSER_BUNDLE_ID";
27 29
28 ChromeAppModeInfo::ChromeAppModeInfo() 30 ChromeAppModeInfo::ChromeAppModeInfo()
29 : major_version(0), 31 : major_version(0),
30 minor_version(0), 32 minor_version(0),
31 argc(0), 33 argc(0),
32 argv(0) { 34 argv(0) {
33 } 35 }
34 36
35 ChromeAppModeInfo::~ChromeAppModeInfo() { 37 ChromeAppModeInfo::~ChromeAppModeInfo() {
36 } 38 }
37 39
38 } // namespace app_mode 40 } // namespace app_mode
OLDNEW
« no previous file with comments | « chrome/common/mac/app_mode_common.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698