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

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..a66869e368af29a4b306801e1ea9c1411e77b485 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>
Mark Mentovai 2012/02/08 04:29:04 This one is #imported, not #included.
sail 2012/02/08 05:21:38 Done.
// 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;
Mark Mentovai 2012/02/08 04:29:04 …NSStrings?
sail 2012/02/08 05:21:38 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