Chromium Code Reviews| Index: chrome/browser/shell_integration.h |
| diff --git a/chrome/browser/shell_integration.h b/chrome/browser/shell_integration.h |
| index f8559844e8d7df644f469c4825333001d33245c1..201ee301e876439ba6816fb50edb1a5983f0a8ee 100644 |
| --- a/chrome/browser/shell_integration.h |
| +++ b/chrome/browser/shell_integration.h |
| @@ -146,6 +146,11 @@ class ShellIntegration { |
| const std::string& extension_app_id, |
| const base::FilePath& profile_path); |
| + // Gets the name for use as the res_class (and possibly res_name) of the |
| + // window's WM_CLASS property. This is the program name from argv[0], with the |
| + // first letter capitalized. Equivalent to GDK's gdk_get_program_class(). |
| + static std::string GetProgramClassName(); |
|
sky
2013/08/23 19:41:48
Should this be ifdef'd?
benwells
2013/08/26 00:10:29
or moved to shell_integration_linux.h?
Matt Giuca
2013/08/26 04:46:09
Done.
|
| + |
| #if defined(OS_WIN) |
| // Generates an application user model ID (AppUserModelId) for a given app |
| // name and profile path. The returned app id is in the format of |