OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 "app/l10n_util.h" | |
11 #include "app/resource_bundle.h" | |
12 #include "app/theme_provider.h" | 10 #include "app/theme_provider.h" |
13 #include "app/win_util.h" | 11 #include "app/win_util.h" |
14 #include "base/i18n/rtl.h" | 12 #include "base/i18n/rtl.h" |
15 #include "base/win_util.h" | 13 #include "base/win_util.h" |
16 #include "gfx/canvas_skia_paint.h" | 14 #include "gfx/canvas_skia_paint.h" |
17 #include "gfx/font.h" | 15 #include "gfx/font.h" |
18 #include "gfx/icon_util.h" | 16 #include "gfx/icon_util.h" |
19 #include "gfx/path.h" | 17 #include "gfx/path.h" |
20 #include "views/accessibility/view_accessibility.h" | 18 #include "views/accessibility/view_accessibility.h" |
21 #include "views/widget/root_view.h" | 19 #include "views/widget/root_view.h" |
(...skipping 1488 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1510 Window::CloseSecondaryWidget(root_view->GetWidget()); | 1508 Window::CloseSecondaryWidget(root_view->GetWidget()); |
1511 return TRUE; | 1509 return TRUE; |
1512 } | 1510 } |
1513 } // namespace | 1511 } // namespace |
1514 | 1512 |
1515 void Window::CloseAllSecondaryWindows() { | 1513 void Window::CloseAllSecondaryWindows() { |
1516 EnumThreadWindows(GetCurrentThreadId(), WindowCallbackProc, 0); | 1514 EnumThreadWindows(GetCurrentThreadId(), WindowCallbackProc, 0); |
1517 } | 1515 } |
1518 | 1516 |
1519 } // namespace views | 1517 } // namespace views |
OLD | NEW |