OLD | NEW |
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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/canvas.h" | |
8 #include "app/l10n_util_win.h" | 7 #include "app/l10n_util_win.h" |
9 #include "app/system_monitor.h" | 8 #include "app/system_monitor.h" |
10 #include "app/win_util.h" | 9 #include "app/win_util.h" |
11 #include "base/string_util.h" | 10 #include "base/string_util.h" |
12 #include "base/win_util.h" | 11 #include "base/win_util.h" |
| 12 #include "gfx/canvas.h" |
13 #include "gfx/native_theme_win.h" | 13 #include "gfx/native_theme_win.h" |
14 #include "gfx/path.h" | 14 #include "gfx/path.h" |
15 #include "views/accessibility/view_accessibility.h" | 15 #include "views/accessibility/view_accessibility.h" |
16 #include "views/controls/native_control_win.h" | 16 #include "views/controls/native_control_win.h" |
17 #include "views/focus/focus_util_win.h" | 17 #include "views/focus/focus_util_win.h" |
18 #include "views/views_delegate.h" | 18 #include "views/views_delegate.h" |
19 #include "views/widget/aero_tooltip_manager.h" | 19 #include "views/widget/aero_tooltip_manager.h" |
20 #include "views/widget/default_theme_provider.h" | 20 #include "views/widget/default_theme_provider.h" |
21 #include "views/widget/drop_target_win.h" | 21 #include "views/widget/drop_target_win.h" |
22 #include "views/widget/root_view.h" | 22 #include "views/widget/root_view.h" |
(...skipping 1302 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1325 } | 1325 } |
1326 return NULL; | 1326 return NULL; |
1327 } | 1327 } |
1328 | 1328 |
1329 // static | 1329 // static |
1330 Widget* Widget::GetWidgetFromNativeWindow(gfx::NativeWindow native_window) { | 1330 Widget* Widget::GetWidgetFromNativeWindow(gfx::NativeWindow native_window) { |
1331 return Widget::GetWidgetFromNativeView(native_window); | 1331 return Widget::GetWidgetFromNativeView(native_window); |
1332 } | 1332 } |
1333 | 1333 |
1334 } // namespace views | 1334 } // namespace views |
OLD | NEW |