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/widget/widget_win.h" | 5 #include "views/widget/widget_win.h" |
6 | 6 |
7 #include "app/gfx/chrome_canvas.h" | 7 #include "app/gfx/chrome_canvas.h" |
| 8 #include "app/win_util.h" |
8 #include "base/gfx/native_theme.h" | 9 #include "base/gfx/native_theme.h" |
9 #include "base/string_util.h" | 10 #include "base/string_util.h" |
10 #include "base/win_util.h" | 11 #include "base/win_util.h" |
11 #include "chrome/app/chrome_dll_resource.h" | 12 #include "chrome/app/chrome_dll_resource.h" |
12 #include "chrome/common/win_util.h" | |
13 #include "views/accessibility/view_accessibility.h" | 13 #include "views/accessibility/view_accessibility.h" |
14 #include "views/controls/native_control_win.h" | 14 #include "views/controls/native_control_win.h" |
15 #include "views/fill_layout.h" | 15 #include "views/fill_layout.h" |
16 #include "views/focus/focus_util_win.h" | 16 #include "views/focus/focus_util_win.h" |
17 #include "views/widget/aero_tooltip_manager.h" | 17 #include "views/widget/aero_tooltip_manager.h" |
18 #include "views/widget/root_view.h" | 18 #include "views/widget/root_view.h" |
19 #include "views/window/window_win.h" | 19 #include "views/window/window_win.h" |
20 | 20 |
21 namespace views { | 21 namespace views { |
22 | 22 |
(...skipping 967 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
990 result = DefWindowProc(window, message, w_param, l_param); | 990 result = DefWindowProc(window, message, w_param, l_param); |
991 if (message == WM_NCDESTROY) { | 991 if (message == WM_NCDESTROY) { |
992 TRACK_HWND_DESTRUCTION(window); | 992 TRACK_HWND_DESTRUCTION(window); |
993 widget->hwnd_ = NULL; | 993 widget->hwnd_ = NULL; |
994 widget->OnFinalMessage(window); | 994 widget->OnFinalMessage(window); |
995 } | 995 } |
996 return result; | 996 return result; |
997 } | 997 } |
998 | 998 |
999 } // namespace views | 999 } // namespace views |
OLD | NEW |