OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 "ui/views/widget/desktop_aura/desktop_window_tree_host_win.h" | 5 #include "ui/views/widget/desktop_aura/desktop_window_tree_host_win.h" |
6 | 6 |
7 #include "base/win/metro.h" | 7 #include "base/win/metro.h" |
8 #include "third_party/skia/include/core/SkPath.h" | 8 #include "third_party/skia/include/core/SkPath.h" |
9 #include "third_party/skia/include/core/SkRegion.h" | 9 #include "third_party/skia/include/core/SkRegion.h" |
10 #include "ui/aura/client/aura_constants.h" | 10 #include "ui/aura/client/aura_constants.h" |
11 #include "ui/aura/client/cursor_client.h" | 11 #include "ui/aura/client/cursor_client.h" |
12 #include "ui/aura/client/focus_client.h" | 12 #include "ui/aura/client/focus_client.h" |
13 #include "ui/aura/window_event_dispatcher.h" | 13 #include "ui/aura/window_event_dispatcher.h" |
14 #include "ui/aura/window_property.h" | 14 #include "ui/aura/window_property.h" |
15 #include "ui/base/cursor/cursor_loader_win.h" | 15 #include "ui/base/cursor/cursor_loader_win.h" |
16 #include "ui/base/ime/input_method.h" | 16 #include "ui/base/ime/input_method.h" |
17 #include "ui/base/win/shell.h" | 17 #include "ui/base/win/shell.h" |
18 #include "ui/compositor/compositor_constants.h" | 18 #include "ui/compositor/compositor_constants.h" |
19 #include "ui/gfx/insets.h" | 19 #include "ui/gfx/geometry/insets.h" |
| 20 #include "ui/gfx/geometry/vector2d.h" |
20 #include "ui/gfx/native_widget_types.h" | 21 #include "ui/gfx/native_widget_types.h" |
21 #include "ui/gfx/path.h" | 22 #include "ui/gfx/path.h" |
22 #include "ui/gfx/path_win.h" | 23 #include "ui/gfx/path_win.h" |
23 #include "ui/gfx/vector2d.h" | |
24 #include "ui/gfx/win/dpi.h" | 24 #include "ui/gfx/win/dpi.h" |
25 #include "ui/native_theme/native_theme_aura.h" | 25 #include "ui/native_theme/native_theme_aura.h" |
26 #include "ui/native_theme/native_theme_win.h" | 26 #include "ui/native_theme/native_theme_win.h" |
27 #include "ui/views/corewm/tooltip_win.h" | 27 #include "ui/views/corewm/tooltip_win.h" |
28 #include "ui/views/ime/input_method_bridge.h" | 28 #include "ui/views/ime/input_method_bridge.h" |
29 #include "ui/views/widget/desktop_aura/desktop_cursor_loader_updater.h" | 29 #include "ui/views/widget/desktop_aura/desktop_cursor_loader_updater.h" |
30 #include "ui/views/widget/desktop_aura/desktop_drag_drop_client_win.h" | 30 #include "ui/views/widget/desktop_aura/desktop_drag_drop_client_win.h" |
31 #include "ui/views/widget/desktop_aura/desktop_native_cursor_manager.h" | 31 #include "ui/views/widget/desktop_aura/desktop_native_cursor_manager.h" |
32 #include "ui/views/widget/desktop_aura/desktop_native_widget_aura.h" | 32 #include "ui/views/widget/desktop_aura/desktop_native_widget_aura.h" |
33 #include "ui/views/widget/root_view.h" | 33 #include "ui/views/widget/root_view.h" |
(...skipping 912 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
946 | 946 |
947 // static | 947 // static |
948 DesktopWindowTreeHost* DesktopWindowTreeHost::Create( | 948 DesktopWindowTreeHost* DesktopWindowTreeHost::Create( |
949 internal::NativeWidgetDelegate* native_widget_delegate, | 949 internal::NativeWidgetDelegate* native_widget_delegate, |
950 DesktopNativeWidgetAura* desktop_native_widget_aura) { | 950 DesktopNativeWidgetAura* desktop_native_widget_aura) { |
951 return new DesktopWindowTreeHostWin(native_widget_delegate, | 951 return new DesktopWindowTreeHostWin(native_widget_delegate, |
952 desktop_native_widget_aura); | 952 desktop_native_widget_aura); |
953 } | 953 } |
954 | 954 |
955 } // namespace views | 955 } // namespace views |
OLD | NEW |