| OLD | NEW |
| 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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 <shellapi.h> | 7 #include <shellapi.h> |
| 8 | 8 |
| 9 #include "app/gfx/canvas.h" | 9 #include "app/gfx/canvas.h" |
| 10 #include "app/gfx/font.h" | 10 #include "app/gfx/font.h" |
| 11 #include "app/gfx/icon_util.h" | 11 #include "app/gfx/icon_util.h" |
| 12 #include "app/gfx/path.h" | 12 #include "app/gfx/path.h" |
| 13 #include "app/l10n_util.h" | 13 #include "app/l10n_util.h" |
| 14 #include "app/resource_bundle.h" | 14 #include "app/resource_bundle.h" |
| 15 #include "app/win_util.h" | 15 #include "app/win_util.h" |
| 16 #include "base/win_util.h" | 16 #include "base/win_util.h" |
| 17 #include "grit/generated_resources.h" | |
| 18 #include "views/widget/root_view.h" | 17 #include "views/widget/root_view.h" |
| 19 #include "views/window/client_view.h" | 18 #include "views/window/client_view.h" |
| 20 #include "views/window/custom_frame_view.h" | 19 #include "views/window/custom_frame_view.h" |
| 21 #include "views/window/native_frame_view.h" | 20 #include "views/window/native_frame_view.h" |
| 22 #include "views/window/non_client_view.h" | 21 #include "views/window/non_client_view.h" |
| 23 #include "views/window/window_delegate.h" | 22 #include "views/window/window_delegate.h" |
| 24 | 23 |
| 25 namespace { | 24 namespace { |
| 26 | 25 |
| 27 bool GetMonitorAndRects(const RECT& rect, | 26 bool GetMonitorAndRects(const RECT& rect, |
| (...skipping 1348 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1376 } | 1375 } |
| 1377 return TRUE; | 1376 return TRUE; |
| 1378 } | 1377 } |
| 1379 } // namespace | 1378 } // namespace |
| 1380 | 1379 |
| 1381 void Window::CloseAllSecondaryWindows() { | 1380 void Window::CloseAllSecondaryWindows() { |
| 1382 EnumThreadWindows(GetCurrentThreadId(), WindowCallbackProc, 0); | 1381 EnumThreadWindows(GetCurrentThreadId(), WindowCallbackProc, 0); |
| 1383 } | 1382 } |
| 1384 | 1383 |
| 1385 } // namespace views | 1384 } // namespace views |
| OLD | NEW |