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

Unified Diff: chrome/browser/shell_integration_linux.h

Issue 23093020: Set the WM_CLASS property of X11 windows in Linux Aura build. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Respond to reviews. Created 7 years, 4 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/browser/shell_integration_linux.h
diff --git a/chrome/browser/shell_integration_linux.h b/chrome/browser/shell_integration_linux.h
index 48414b867b9cf8eefce42b04e9a5bf765ebb2f57..d00dcd5f8a1d76d02d25d4770b856012505d5974 100644
--- a/chrome/browser/shell_integration_linux.h
+++ b/chrome/browser/shell_integration_linux.h
@@ -31,6 +31,11 @@ bool GetDataWriteLocation(base::Environment* env, base::FilePath* search_path);
// Called on the FILE thread.
std::vector<base::FilePath> GetDataSearchLocations(base::Environment* env);
+// 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().
+std::string GetProgramClassName();
+
// Returns filename of the desktop shortcut used to launch the browser.
std::string GetDesktopName(base::Environment* env);
« no previous file with comments | « no previous file | chrome/browser/shell_integration_linux.cc » ('j') | chrome/browser/ui/views/frame/browser_frame.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698