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

Unified Diff: chrome/common/mac/app_mode_common.h

Issue 9346013: Publish app shortcuts on Mac (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: address review comments Created 8 years, 10 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 side-by-side diff with in-line comments
Download patch
Index: chrome/common/mac/app_mode_common.h
diff --git a/chrome/common/mac/app_mode_common.h b/chrome/common/mac/app_mode_common.h
index 4fd258ca9c940720691fad35482ca768d50c7298..ad719076138d8f712c8a69937793b259291c7e3a 100644
--- a/chrome/common/mac/app_mode_common.h
+++ b/chrome/common/mac/app_mode_common.h
@@ -6,7 +6,7 @@
#define CHROME_COMMON_MAC_APP_MODE_COMMON_H_
#pragma once
-#include <CoreFoundation/CoreFoundation.h>
+#include <Cocoa/Cocoa.h>
// This file contains constants, interfaces, etc. which are common to the
// browser application and the app mode loader (a.k.a. shim).
@@ -21,6 +21,18 @@ extern const CFStringRef kBrowserBundleIDKey;
// bundle; this key is recorded under the ID given by |kAppPrefsID|.
extern const CFStringRef kLastRunAppBundlePathPrefsKey;
+// Key for the shortcut ID.
+extern NSString * const kCrAppModeShortcutIDKey;
Robert Sesek 2012/02/08 00:59:38 nit: no space before *
sail 2012/02/08 01:47:20 Done.
+
+// Key for the app's shortcut.
+extern NSString * const kCrAppModeShortcutShortNameKey;
+
+// Key for the app's unrestricted name.
+extern NSString * const kCrAppModeShortcutNameKey;
+
+// Key for the app's URL.
+extern NSString * const kCrAppModeShortcutURLKey;
+
// Current major/minor version numbers of |ChromeAppModeInfo| (defined below).
const unsigned kCurrentChromeAppModeInfoMajorVersion = 1;
const unsigned kCurrentChromeAppModeInfoMinorVersion = 0;

Powered by Google App Engine
This is Rietveld 408576698