Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 51 // IMPORTANT: This should only be called by the installer which needs to make | 51 // IMPORTANT: This should only be called by the installer which needs to make |
| 52 // decisions on the suffixing of the upcoming install, not by external callers | 52 // decisions on the suffixing of the upcoming install, not by external callers |
| 53 // at run-time. | 53 // at run-time. |
| 54 virtual string16 GetBaseAppName(); | 54 virtual string16 GetBaseAppName(); |
| 55 | 55 |
| 56 // Returns the localized name of the program. | 56 // Returns the localized name of the program. |
| 57 virtual string16 GetAppShortCutName(); | 57 virtual string16 GetAppShortCutName(); |
| 58 | 58 |
| 59 virtual string16 GetAlternateApplicationName(); | 59 virtual string16 GetAlternateApplicationName(); |
| 60 | 60 |
| 61 // Returns the localized name of the app launcher. | |
| 62 virtual string16 GetAppListShortcutName(); | |
| 63 | |
| 64 // Returns the localized name of the subdirectory to store chrome apps in the | |
| 65 // application menu. | |
| 66 virtual string16 GetAppShortcutsSubdirName(); | |
|
gab
2013/05/15 21:26:38
I talked about this with huangs@ and we came up wi
calamity
2013/08/27 07:59:35
Done.
| |
| 67 | |
| 61 // Returns the unsuffixed appid of this program. | 68 // Returns the unsuffixed appid of this program. |
| 62 // The AppUserModelId is a property of Windows programs. | 69 // The AppUserModelId is a property of Windows programs. |
| 63 // IMPORTANT: This should only be called by ShellUtil::GetAppId as the appid | 70 // IMPORTANT: This should only be called by ShellUtil::GetAppId as the appid |
| 64 // should be suffixed in all scenarios. | 71 // should be suffixed in all scenarios. |
| 65 virtual string16 GetBaseAppId(); | 72 virtual string16 GetBaseAppId(); |
| 66 | 73 |
| 67 virtual string16 GetInstallSubDir(); | 74 virtual string16 GetInstallSubDir(); |
| 68 | 75 |
| 69 virtual string16 GetPublisherName(); | 76 virtual string16 GetPublisherName(); |
| 70 | 77 |
| (...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 132 | 139 |
| 133 const Type type_; | 140 const Type type_; |
| 134 | 141 |
| 135 private: | 142 private: |
| 136 BrowserDistribution(); | 143 BrowserDistribution(); |
| 137 | 144 |
| 138 DISALLOW_COPY_AND_ASSIGN(BrowserDistribution); | 145 DISALLOW_COPY_AND_ASSIGN(BrowserDistribution); |
| 139 }; | 146 }; |
| 140 | 147 |
| 141 #endif // CHROME_INSTALLER_UTIL_BROWSER_DISTRIBUTION_H_ | 148 #endif // CHROME_INSTALLER_UTIL_BROWSER_DISTRIBUTION_H_ |
| OLD | NEW |