Index: chrome/browser/ui/views/app_list/win/app_list_service_win.cc |
diff --git a/chrome/browser/ui/views/app_list/win/app_list_service_win.cc b/chrome/browser/ui/views/app_list/win/app_list_service_win.cc |
index 0d583eb67034a57f959a95f3feb00c66cae32d84..b171f66d193f0adb114f04b69fb017f774d5e0b6 100644 |
--- a/chrome/browser/ui/views/app_list/win/app_list_service_win.cc |
+++ b/chrome/browser/ui/views/app_list/win/app_list_service_win.cc |
@@ -263,15 +263,6 @@ void CreateAppListShortcuts( |
// Customizes the app list |hwnd| for Windows (eg: disable aero peek, set up |
// restart params). |
void SetWindowAttributes(HWND hwnd) { |
- // Vista and lower do not offer pinning to the taskbar, which makes any |
- // presence on the taskbar useless. So, hide the window on the taskbar |
- // for these versions of Windows. |
- if (base::win::GetVersion() <= base::win::VERSION_VISTA) { |
- LONG_PTR ex_styles = GetWindowLongPtr(hwnd, GWL_EXSTYLE); |
- ex_styles |= WS_EX_TOOLWINDOW; |
- SetWindowLongPtr(hwnd, GWL_EXSTYLE, ex_styles); |
- } |
- |
if (base::win::GetVersion() > base::win::VERSION_VISTA) { |
// Disable aero peek. Without this, hovering over the taskbar popup puts |
// Windows into a mode for switching between windows in the same |