OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_view.h" | 5 #include "chrome/browser/ui/views/panels/panel_view.h" |
6 | 6 |
| 7 #include <stddef.h> |
| 8 |
7 #include <map> | 9 #include <map> |
8 #include "base/logging.h" | 10 #include "base/logging.h" |
| 11 #include "base/macros.h" |
9 #include "base/message_loop/message_loop.h" | 12 #include "base/message_loop/message_loop.h" |
10 #include "base/strings/utf_string_conversions.h" | 13 #include "base/strings/utf_string_conversions.h" |
| 14 #include "build/build_config.h" |
11 #include "chrome/app/chrome_command_ids.h" | 15 #include "chrome/app/chrome_command_ids.h" |
12 #include "chrome/browser/profiles/profile.h" | 16 #include "chrome/browser/profiles/profile.h" |
13 #include "chrome/browser/ui/host_desktop.h" | 17 #include "chrome/browser/ui/host_desktop.h" |
14 #include "chrome/browser/ui/panels/panel.h" | 18 #include "chrome/browser/ui/panels/panel.h" |
15 #include "chrome/browser/ui/panels/panel_bounds_animation.h" | 19 #include "chrome/browser/ui/panels/panel_bounds_animation.h" |
16 #include "chrome/browser/ui/panels/panel_manager.h" | 20 #include "chrome/browser/ui/panels/panel_manager.h" |
17 #include "chrome/browser/ui/panels/stacked_panel_collection.h" | 21 #include "chrome/browser/ui/panels/stacked_panel_collection.h" |
18 #include "chrome/browser/ui/views/auto_keep_alive.h" | 22 #include "chrome/browser/ui/views/auto_keep_alive.h" |
19 #include "chrome/browser/ui/views/panels/panel_frame_view.h" | 23 #include "chrome/browser/ui/views/panels/panel_frame_view.h" |
20 #include "content/public/browser/render_view_host.h" | 24 #include "content/public/browser/render_view_host.h" |
(...skipping 1117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1138 // SWP_FRAMECHANGED flag must be called in order for the cached window data | 1142 // SWP_FRAMECHANGED flag must be called in order for the cached window data |
1139 // to be updated properly. | 1143 // to be updated properly. |
1140 // http://msdn.microsoft.com/en-us/library/windows/desktop/ms633591(v=vs.85).a
spx | 1144 // http://msdn.microsoft.com/en-us/library/windows/desktop/ms633591(v=vs.85).a
spx |
1141 if (update_frame) { | 1145 if (update_frame) { |
1142 ::SetWindowPos(native_window, NULL, 0, 0, 0, 0, | 1146 ::SetWindowPos(native_window, NULL, 0, 0, 0, 0, |
1143 SWP_FRAMECHANGED | SWP_NOMOVE | SWP_NOSIZE | | 1147 SWP_FRAMECHANGED | SWP_NOMOVE | SWP_NOSIZE | |
1144 SWP_NOZORDER | SWP_NOACTIVATE); | 1148 SWP_NOZORDER | SWP_NOACTIVATE); |
1145 } | 1149 } |
1146 } | 1150 } |
1147 #endif | 1151 #endif |
OLD | NEW |