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 "ui/views/win/hwnd_message_handler.h" | 5 #include "ui/views/win/hwnd_message_handler.h" |
6 | 6 |
7 #include <dwmapi.h> | 7 #include <dwmapi.h> |
8 #include <oleacc.h> | 8 #include <oleacc.h> |
9 #include <shellapi.h> | 9 #include <shellapi.h> |
10 #include <wtsapi32.h> | 10 #include <wtsapi32.h> |
(...skipping 11 matching lines...) Expand all Loading... |
22 #include "ui/base/win/internal_constants.h" | 22 #include "ui/base/win/internal_constants.h" |
23 #include "ui/base/win/lock_state.h" | 23 #include "ui/base/win/lock_state.h" |
24 #include "ui/base/win/mouse_wheel_util.h" | 24 #include "ui/base/win/mouse_wheel_util.h" |
25 #include "ui/base/win/shell.h" | 25 #include "ui/base/win/shell.h" |
26 #include "ui/base/win/touch_input.h" | 26 #include "ui/base/win/touch_input.h" |
27 #include "ui/events/event.h" | 27 #include "ui/events/event.h" |
28 #include "ui/events/event_utils.h" | 28 #include "ui/events/event_utils.h" |
29 #include "ui/events/keycodes/keyboard_code_conversion_win.h" | 29 #include "ui/events/keycodes/keyboard_code_conversion_win.h" |
30 #include "ui/gfx/canvas.h" | 30 #include "ui/gfx/canvas.h" |
31 #include "ui/gfx/canvas_skia_paint.h" | 31 #include "ui/gfx/canvas_skia_paint.h" |
| 32 #include "ui/gfx/geometry/insets.h" |
32 #include "ui/gfx/icon_util.h" | 33 #include "ui/gfx/icon_util.h" |
33 #include "ui/gfx/insets.h" | |
34 #include "ui/gfx/path.h" | 34 #include "ui/gfx/path.h" |
35 #include "ui/gfx/path_win.h" | 35 #include "ui/gfx/path_win.h" |
36 #include "ui/gfx/screen.h" | 36 #include "ui/gfx/screen.h" |
37 #include "ui/gfx/win/dpi.h" | 37 #include "ui/gfx/win/dpi.h" |
38 #include "ui/gfx/win/hwnd_util.h" | 38 #include "ui/gfx/win/hwnd_util.h" |
39 #include "ui/native_theme/native_theme_win.h" | 39 #include "ui/native_theme/native_theme_win.h" |
40 #include "ui/views/views_delegate.h" | 40 #include "ui/views/views_delegate.h" |
41 #include "ui/views/widget/monitor_win.h" | 41 #include "ui/views/widget/monitor_win.h" |
42 #include "ui/views/widget/widget_hwnd_utils.h" | 42 #include "ui/views/widget/widget_hwnd_utils.h" |
43 #include "ui/views/win/fullscreen_handler.h" | 43 #include "ui/views/win/fullscreen_handler.h" |
(...skipping 2504 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2548 SetWindowPos(hwnd(), NULL, 0, 0, 0, 0, flags | SWP_HIDEWINDOW); | 2548 SetWindowPos(hwnd(), NULL, 0, 0, 0, 0, flags | SWP_HIDEWINDOW); |
2549 SetWindowPos(hwnd(), NULL, 0, 0, 0, 0, flags | SWP_SHOWWINDOW); | 2549 SetWindowPos(hwnd(), NULL, 0, 0, 0, 0, flags | SWP_SHOWWINDOW); |
2550 } | 2550 } |
2551 // WM_DWMCOMPOSITIONCHANGED is only sent to top level windows, however we want | 2551 // WM_DWMCOMPOSITIONCHANGED is only sent to top level windows, however we want |
2552 // to notify our children too, since we can have MDI child windows who need to | 2552 // to notify our children too, since we can have MDI child windows who need to |
2553 // update their appearance. | 2553 // update their appearance. |
2554 EnumChildWindows(hwnd(), &SendDwmCompositionChanged, NULL); | 2554 EnumChildWindows(hwnd(), &SendDwmCompositionChanged, NULL); |
2555 } | 2555 } |
2556 | 2556 |
2557 } // namespace views | 2557 } // namespace views |
OLD | NEW |