| OLD | NEW |
| 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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 #include "chrome/browser/ui/views/panels/panel_stack_view.h" | 5 #include "chrome/browser/ui/views/panels/panel_stack_view.h" |
| 6 | 6 |
| 7 #include "base/logging.h" | 7 #include "base/logging.h" |
| 8 #include "base/utf_string_conversions.h" | 8 #include "base/utf_string_conversions.h" |
| 9 #include "chrome/browser/profiles/profile.h" | 9 #include "chrome/browser/profiles/profile.h" |
| 10 #include "chrome/browser/ui/panels/panel.h" | 10 #include "chrome/browser/ui/panels/panel.h" |
| 11 #include "chrome/browser/ui/panels/stacked_panel_collection.h" | 11 #include "chrome/browser/ui/panels/stacked_panel_collection.h" |
| 12 #include "chrome/common/extensions/extension.h" | 12 #include "chrome/common/extensions/extension.h" |
| 13 #include "ui/gfx/image/image_skia.h" |
| 13 #include "ui/gfx/rect.h" | 14 #include "ui/gfx/rect.h" |
| 14 #include "ui/views/widget/widget.h" | 15 #include "ui/views/widget/widget.h" |
| 15 | 16 |
| 16 #if defined(OS_WIN) | 17 #if defined(OS_WIN) |
| 17 #include "chrome/browser/shell_integration.h" | 18 #include "chrome/browser/shell_integration.h" |
| 18 #include "ui/base/win/shell.h" | 19 #include "ui/base/win/shell.h" |
| 19 #endif | 20 #endif |
| 20 | 21 |
| 21 #if defined(OS_WIN) && !defined(USE_AURA) | 22 #if defined(OS_WIN) && !defined(USE_AURA) |
| 22 #include "base/win/windows_version.h" | 23 #include "base/win/windows_version.h" |
| (...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 192 // All the windows that share the same owner window will appear as a single | 193 // All the windows that share the same owner window will appear as a single |
| 193 // window on the taskbar. | 194 // window on the taskbar. |
| 194 ::SetWindowLong(panel_window, | 195 ::SetWindowLong(panel_window, |
| 195 GWL_HWNDPARENT, | 196 GWL_HWNDPARENT, |
| 196 reinterpret_cast<LONG>(stack_window)); | 197 reinterpret_cast<LONG>(stack_window)); |
| 197 | 198 |
| 198 #else | 199 #else |
| 199 NOTIMPLEMENTED(); | 200 NOTIMPLEMENTED(); |
| 200 #endif | 201 #endif |
| 201 } | 202 } |
| OLD | NEW |