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

Unified Diff: chrome/browser/extensions/app_host/app_host.rc

Issue 11359133: Add default icon to app_host.exe, and use it in shortcuts during installation. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Clean up to get Program and Features uninstall icon to work more generally. Created 8 years, 1 month 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
« no previous file with comments | « no previous file | chrome/browser/shell_integration_win.cc » ('j') | chrome/browser/shell_integration_win.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/app_host/app_host.rc
diff --git a/chrome/browser/extensions/app_host/app_host.rc b/chrome/browser/extensions/app_host/app_host.rc
index ffd5341a22e1a90bac562d7967c0a89fe017b83b..5ff0fe343dc391e1f834967fa7a080df68c6d53a 100644
--- a/chrome/browser/extensions/app_host/app_host.rc
+++ b/chrome/browser/extensions/app_host/app_host.rc
@@ -24,6 +24,22 @@ LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
/////////////////////////////////////////////////////////////////////////////
//
+// Icon
+//
+
+// The application icon should: have the lowest ID, be placed first, and its
+// resource name should be alphabetically less than the name of any other icon
+// resource (http://msdn.microsoft.com/en-us/library/ms997538.aspx).
+// Note: chrome/installer/util/shell_util.cc depends on the order and number of
+// icons. To avoid breaking existing shortcuts, add new icons at the end
+// (following the ordering described above).
+
+// Icon for the App Lancher.
+IDR_MAINFRAME ICON "..\\..\\..\\app\\theme\\app_list.ico"
grt (UTC plus 2) 2012/11/13 16:19:32 the first field here can either be a name or a uin
grt (UTC plus 2) 2012/11/13 16:19:32 also, i don't think you need the double-backslashe
huangs 2012/11/13 20:41:54 Made the .h file and set name as IDR_APP_HOST_MAIN
huangs 2012/11/13 20:41:54 The double-backslashes essential. single-backslas
grt (UTC plus 2) 2012/11/14 15:55:14 Ah, awesome. Thanks for the clarification.
huangs 2012/11/14 17:59:15 I meant \c, \g, \v are NOT escape characters.
+
+
benwells 2012/11/13 05:52:56 Nit: extra blank line
huangs 2012/11/13 20:41:54 Done.
+/////////////////////////////////////////////////////////////////////////////
+//
// GOOGLEUPDATEAPPLICATIONCOMMANDS is a "well-known" marker resource defined
// by Omaha. Executables must both be signed by Google and contain the marker
// in order to expose application commands.
« no previous file with comments | « no previous file | chrome/browser/shell_integration_win.cc » ('j') | chrome/browser/shell_integration_win.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698