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

Side by Side Diff: chrome/installer/util/browser_distribution.h

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: Comment fixes to .rc file, and prefixing icon id with IDI_. 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 unified diff | Download patch
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 // This file declares a class that contains various method related to branding. 5 // This file declares a class that contains various method related to branding.
6 6
7 #ifndef CHROME_INSTALLER_UTIL_BROWSER_DISTRIBUTION_H_ 7 #ifndef CHROME_INSTALLER_UTIL_BROWSER_DISTRIBUTION_H_
8 #define CHROME_INSTALLER_UTIL_BROWSER_DISTRIBUTION_H_ 8 #define CHROME_INSTALLER_UTIL_BROWSER_DISTRIBUTION_H_
9 9
10 #include <string> 10 #include <string>
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 virtual string16 GetUninstallLinkName(); 114 virtual string16 GetUninstallLinkName();
115 115
116 virtual string16 GetUninstallRegPath(); 116 virtual string16 GetUninstallRegPath();
117 117
118 virtual string16 GetVersionKey(); 118 virtual string16 GetVersionKey();
119 119
120 virtual bool CanSetAsDefault(); 120 virtual bool CanSetAsDefault();
121 121
122 virtual bool CanCreateDesktopShortcuts(); 122 virtual bool CanCreateDesktopShortcuts();
123 123
124 // Returns the executable filename (not path) that contains the product icon.
125 virtual string16 GetIconFilename();
126
127 // Returns the index of the icon for the product, inside the file specified by
128 // GetIconFilename().
124 virtual int GetIconIndex(); 129 virtual int GetIconIndex();
125 130
126 virtual bool GetChromeChannel(string16* channel); 131 virtual bool GetChromeChannel(string16* channel);
127 132
128 // Returns true if the distribution includes a DelegateExecute verb handler, 133 // Returns true if the distribution includes a DelegateExecute verb handler,
129 // and provides the CommandExecuteImpl class UUID if |handler_class_uuid| is 134 // and provides the CommandExecuteImpl class UUID if |handler_class_uuid| is
130 // non-NULL. 135 // non-NULL.
131 virtual bool GetCommandExecuteImplClsid(string16* handler_class_uuid); 136 virtual bool GetCommandExecuteImplClsid(string16* handler_class_uuid);
132 137
133 virtual void UpdateInstallStatus(bool system_install, 138 virtual void UpdateInstallStatus(bool system_install,
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
165 170
166 const Type type_; 171 const Type type_;
167 172
168 private: 173 private:
169 BrowserDistribution(); 174 BrowserDistribution();
170 175
171 DISALLOW_COPY_AND_ASSIGN(BrowserDistribution); 176 DISALLOW_COPY_AND_ASSIGN(BrowserDistribution);
172 }; 177 };
173 178
174 #endif // CHROME_INSTALLER_UTIL_BROWSER_DISTRIBUTION_H_ 179 #endif // CHROME_INSTALLER_UTIL_BROWSER_DISTRIBUTION_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698