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/strings/utf_string_conversions.h" | 8 #include "base/strings/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/panel_manager.h" | 11 #include "chrome/browser/ui/panels/panel_manager.h" |
12 #include "chrome/browser/ui/panels/stacked_panel_collection.h" | 12 #include "chrome/browser/ui/panels/stacked_panel_collection.h" |
13 #include "chrome/browser/ui/views/panels/panel_view.h" | 13 #include "chrome/browser/ui/views/panels/panel_view.h" |
14 #include "ui/gfx/animation/linear_animation.h" | 14 #include "ui/gfx/animation/linear_animation.h" |
| 15 #include "ui/gfx/geometry/rect.h" |
15 #include "ui/gfx/image/image_skia.h" | 16 #include "ui/gfx/image/image_skia.h" |
16 #include "ui/gfx/rect.h" | |
17 #include "ui/views/widget/widget.h" | 17 #include "ui/views/widget/widget.h" |
18 | 18 |
19 #if defined(OS_WIN) | 19 #if defined(OS_WIN) |
20 #include "base/win/windows_version.h" | 20 #include "base/win/windows_version.h" |
21 #include "chrome/browser/shell_integration.h" | 21 #include "chrome/browser/shell_integration.h" |
22 #include "ui/base/win/shell.h" | 22 #include "ui/base/win/shell.h" |
23 #include "ui/views/win/hwnd_util.h" | 23 #include "ui/views/win/hwnd_util.h" |
24 #endif | 24 #endif |
25 | 25 |
26 namespace { | 26 namespace { |
(...skipping 554 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
581 ::DeferWindowPos(defer_window_pos_info, | 581 ::DeferWindowPos(defer_window_pos_info, |
582 views::HWNDForWidget(window), | 582 views::HWNDForWidget(window), |
583 NULL, | 583 NULL, |
584 bounds.x(), | 584 bounds.x(), |
585 bounds.y(), | 585 bounds.y(), |
586 bounds.width(), | 586 bounds.width(), |
587 bounds.height(), | 587 bounds.height(), |
588 SWP_NOACTIVATE | SWP_NOZORDER); | 588 SWP_NOACTIVATE | SWP_NOZORDER); |
589 } | 589 } |
590 #endif | 590 #endif |
OLD | NEW |