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_root_window_host_win.h" | 5 #include "ui/views/widget/desktop_aura/desktop_root_window_host_win.h" |
6 | 6 |
7 #include "third_party/skia/include/core/SkPath.h" | 7 #include "third_party/skia/include/core/SkPath.h" |
8 #include "third_party/skia/include/core/SkRegion.h" | 8 #include "third_party/skia/include/core/SkRegion.h" |
9 #include "ui/aura/client/aura_constants.h" | 9 #include "ui/aura/client/aura_constants.h" |
10 #include "ui/aura/client/default_capture_client.h" | 10 #include "ui/aura/client/default_capture_client.h" |
11 #include "ui/aura/focus_manager.h" | 11 #include "ui/aura/focus_manager.h" |
12 #include "ui/aura/root_window.h" | 12 #include "ui/aura/root_window.h" |
13 #include "ui/views/corewm/compound_event_filter.h" | 13 #include "ui/views/corewm/compound_event_filter.h" |
14 #include "ui/views/corewm/input_method_event_filter.h" | 14 #include "ui/views/corewm/input_method_event_filter.h" |
15 #include "ui/aura/window_property.h" | 15 #include "ui/aura/window_property.h" |
16 #include "ui/base/cursor/cursor_loader_win.h" | 16 #include "ui/base/cursor/cursor_loader_win.h" |
17 #include "ui/base/native_theme/native_theme_aura.h" | 17 #include "ui/base/native_theme/native_theme_aura.h" |
18 #include "ui/base/native_theme/native_theme_win.h" | 18 #include "ui/base/native_theme/native_theme_win.h" |
19 #include "ui/base/win/shell.h" | 19 #include "ui/base/win/shell.h" |
20 #include "ui/gfx/native_widget_types.h" | 20 #include "ui/gfx/native_widget_types.h" |
21 #include "ui/gfx/path_win.h" | 21 #include "ui/gfx/path_win.h" |
22 #include "ui/views/ime/input_method_win.h" | 22 #include "ui/views/ime/input_method_win.h" |
23 #include "ui/views/widget/desktop_aura/desktop_activation_client.h" | 23 #include "ui/views/widget/desktop_aura/desktop_activation_client.h" |
24 #include "ui/views/widget/desktop_aura/desktop_cursor_client.h" | 24 #include "ui/views/widget/desktop_aura/desktop_cursor_client.h" |
25 #include "ui/views/widget/desktop_aura/desktop_dispatcher_client.h" | 25 #include "ui/views/widget/desktop_aura/desktop_dispatcher_client.h" |
26 #include "ui/views/widget/desktop_native_widget_aura.h" | 26 #include "ui/views/widget/desktop_aura/desktop_native_widget_aura.h" |
27 #include "ui/views/widget/desktop_screen_position_client.h" | 27 #include "ui/views/widget/desktop_aura/desktop_screen_position_client.h" |
28 #include "ui/views/widget/widget_delegate.h" | 28 #include "ui/views/widget/widget_delegate.h" |
29 #include "ui/views/widget/widget_hwnd_utils.h" | 29 #include "ui/views/widget/widget_hwnd_utils.h" |
30 #include "ui/views/win/fullscreen_handler.h" | 30 #include "ui/views/win/fullscreen_handler.h" |
31 #include "ui/views/win/hwnd_message_handler.h" | 31 #include "ui/views/win/hwnd_message_handler.h" |
32 #include "ui/views/window/native_frame_view.h" | 32 #include "ui/views/window/native_frame_view.h" |
33 | 33 |
34 namespace views { | 34 namespace views { |
35 | 35 |
36 DEFINE_WINDOW_PROPERTY_KEY(aura::Window*, kContentWindowForRootWindow, NULL); | 36 DEFINE_WINDOW_PROPERTY_KEY(aura::Window*, kContentWindowForRootWindow, NULL); |
37 | 37 |
(...skipping 737 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
775 DesktopRootWindowHost* DesktopRootWindowHost::Create( | 775 DesktopRootWindowHost* DesktopRootWindowHost::Create( |
776 internal::NativeWidgetDelegate* native_widget_delegate, | 776 internal::NativeWidgetDelegate* native_widget_delegate, |
777 DesktopNativeWidgetAura* desktop_native_widget_aura, | 777 DesktopNativeWidgetAura* desktop_native_widget_aura, |
778 const gfx::Rect& initial_bounds) { | 778 const gfx::Rect& initial_bounds) { |
779 return new DesktopRootWindowHostWin(native_widget_delegate, | 779 return new DesktopRootWindowHostWin(native_widget_delegate, |
780 desktop_native_widget_aura, | 780 desktop_native_widget_aura, |
781 initial_bounds); | 781 initial_bounds); |
782 } | 782 } |
783 | 783 |
784 } // namespace views | 784 } // namespace views |
OLD | NEW |