Commit 83cb9d80 authored by mgiuca@chromium.org's avatar mgiuca@chromium.org

In Chromium, App Launcher's WM_CLASS is "chromium_app_list".

It was previously "chrome_app_list" regardless of which build we are in.

BUG=331729

Review URL: https://codereview.chromium.org/120723006

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@243453 0039d316-1c4b-4281-b951-d872f2087c98
parent d3dc8c30
...@@ -38,8 +38,6 @@ class AppListFactoryLinux : public AppListFactory { ...@@ -38,8 +38,6 @@ class AppListFactoryLinux : public AppListFactory {
cursor, cursor,
views::BubbleBorder::FLOAT, views::BubbleBorder::FLOAT,
false /* border_accepts_events */); false /* border_accepts_events */);
// TODO(mgiuca): Set the app launcher window's WM_CLASS so that it can be
// associated with its own launch icon in the window manager.
return new AppListLinux(view, on_should_dismiss); return new AppListLinux(view, on_should_dismiss);
} }
......
...@@ -58,7 +58,11 @@ const int kArrowOffset = 10; ...@@ -58,7 +58,11 @@ const int kArrowOffset = 10;
#if defined(OS_LINUX) #if defined(OS_LINUX)
// The WM_CLASS name for the app launcher window on Linux. // The WM_CLASS name for the app launcher window on Linux.
const char* kAppListWMClass = "chrome_app_list"; #if defined(GOOGLE_CHROME_BUILD)
const char kAppListWMClass[] = "chrome_app_list";
#else // CHROMIUM_BUILD
const char kAppListWMClass[] = "chromium_app_list";
#endif
#endif #endif
// Determines whether the current environment supports shadows bubble borders. // Determines whether the current environment supports shadows bubble borders.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment