OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 "views/window/window_win.h" | 5 #include "views/window/window_win.h" |
6 | 6 |
7 #include <dwmapi.h> | 7 #include <dwmapi.h> |
8 #include <shellapi.h> | 8 #include <shellapi.h> |
9 | 9 |
10 #include "base/i18n/rtl.h" | 10 #include "base/i18n/rtl.h" |
11 #include "base/win/scoped_gdi_object.h" | 11 #include "base/win/scoped_gdi_object.h" |
12 #include "base/win/win_util.h" | 12 #include "base/win/win_util.h" |
13 #include "base/win/windows_version.h" | 13 #include "base/win/windows_version.h" |
14 #include "gfx/canvas_skia_paint.h" | |
15 #include "gfx/font.h" | |
16 #include "gfx/icon_util.h" | |
17 #include "gfx/path.h" | |
18 #include "ui/base/keycodes/keyboard_code_conversion_win.h" | 14 #include "ui/base/keycodes/keyboard_code_conversion_win.h" |
19 #include "ui/base/l10n/l10n_util_win.h" | 15 #include "ui/base/l10n/l10n_util_win.h" |
20 #include "ui/base/theme_provider.h" | 16 #include "ui/base/theme_provider.h" |
21 #include "ui/base/win/hwnd_util.h" | 17 #include "ui/base/win/hwnd_util.h" |
| 18 #include "ui/gfx/canvas_skia_paint.h" |
| 19 #include "ui/gfx/font.h" |
| 20 #include "ui/gfx/icon_util.h" |
| 21 #include "ui/gfx/path.h" |
22 #include "views/accessibility/view_accessibility.h" | 22 #include "views/accessibility/view_accessibility.h" |
23 #include "views/widget/root_view.h" | 23 #include "views/widget/root_view.h" |
24 #include "views/window/client_view.h" | 24 #include "views/window/client_view.h" |
25 #include "views/window/custom_frame_view.h" | 25 #include "views/window/custom_frame_view.h" |
26 #include "views/window/native_frame_view.h" | 26 #include "views/window/native_frame_view.h" |
27 #include "views/window/non_client_view.h" | 27 #include "views/window/non_client_view.h" |
28 #include "views/window/window_delegate.h" | 28 #include "views/window/window_delegate.h" |
29 | 29 |
30 namespace { | 30 namespace { |
31 | 31 |
(...skipping 1614 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1646 Window::CloseSecondaryWidget(root_view->GetWidget()); | 1646 Window::CloseSecondaryWidget(root_view->GetWidget()); |
1647 return TRUE; | 1647 return TRUE; |
1648 } | 1648 } |
1649 } // namespace | 1649 } // namespace |
1650 | 1650 |
1651 void Window::CloseAllSecondaryWindows() { | 1651 void Window::CloseAllSecondaryWindows() { |
1652 EnumThreadWindows(GetCurrentThreadId(), WindowCallbackProc, 0); | 1652 EnumThreadWindows(GetCurrentThreadId(), WindowCallbackProc, 0); |
1653 } | 1653 } |
1654 | 1654 |
1655 } // namespace views | 1655 } // namespace views |
OLD | NEW |