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/macros.h" |
8 #include "base/strings/utf_string_conversions.h" | 9 #include "base/strings/utf_string_conversions.h" |
| 10 #include "build/build_config.h" |
9 #include "chrome/browser/profiles/profile.h" | 11 #include "chrome/browser/profiles/profile.h" |
10 #include "chrome/browser/ui/panels/panel.h" | 12 #include "chrome/browser/ui/panels/panel.h" |
11 #include "chrome/browser/ui/panels/panel_manager.h" | 13 #include "chrome/browser/ui/panels/panel_manager.h" |
12 #include "chrome/browser/ui/panels/stacked_panel_collection.h" | 14 #include "chrome/browser/ui/panels/stacked_panel_collection.h" |
13 #include "chrome/browser/ui/views/panels/panel_view.h" | 15 #include "chrome/browser/ui/views/panels/panel_view.h" |
14 #include "ui/gfx/animation/linear_animation.h" | 16 #include "ui/gfx/animation/linear_animation.h" |
15 #include "ui/gfx/geometry/rect.h" | 17 #include "ui/gfx/geometry/rect.h" |
16 #include "ui/gfx/image/image_skia.h" | 18 #include "ui/gfx/image/image_skia.h" |
17 #include "ui/views/widget/widget.h" | 19 #include "ui/views/widget/widget.h" |
18 | 20 |
(...skipping 561 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
580 ::DeferWindowPos(defer_window_pos_info, | 582 ::DeferWindowPos(defer_window_pos_info, |
581 views::HWNDForWidget(window), | 583 views::HWNDForWidget(window), |
582 NULL, | 584 NULL, |
583 bounds.x(), | 585 bounds.x(), |
584 bounds.y(), | 586 bounds.y(), |
585 bounds.width(), | 587 bounds.width(), |
586 bounds.height(), | 588 bounds.height(), |
587 SWP_NOACTIVATE | SWP_NOZORDER); | 589 SWP_NOACTIVATE | SWP_NOZORDER); |
588 } | 590 } |
589 #endif | 591 #endif |
OLD | NEW |