OLD | NEW |
| 1 |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 2 // 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 | 3 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 4 // found in the LICENSE file. |
4 | 5 |
5 #include "ui/views/widget/desktop_root_window_host_win.h" | 6 #include "ui/views/widget/desktop_root_window_host_win.h" |
6 | 7 |
7 #include "base/command_line.h" | 8 #include "base/command_line.h" |
8 #include "third_party/skia/include/core/SkPath.h" | 9 #include "third_party/skia/include/core/SkPath.h" |
9 #include "third_party/skia/include/core/SkRegion.h" | 10 #include "third_party/skia/include/core/SkRegion.h" |
10 #include "ui/aura/desktop/desktop_activation_client.h" | 11 #include "ui/aura/desktop/desktop_activation_client.h" |
11 #include "ui/aura/desktop/desktop_cursor_client.h" | 12 #include "ui/aura/desktop/desktop_cursor_client.h" |
12 #include "ui/aura/desktop/desktop_dispatcher_client.h" | 13 #include "ui/aura/desktop/desktop_dispatcher_client.h" |
13 #include "ui/aura/focus_manager.h" | 14 #include "ui/aura/focus_manager.h" |
14 #include "ui/aura/root_window.h" | 15 #include "ui/aura/root_window.h" |
15 #include "ui/aura/shared/compound_event_filter.h" | 16 #include "ui/aura/shared/compound_event_filter.h" |
16 #include "ui/base/cursor/cursor_loader_win.h" | 17 #include "ui/base/cursor/cursor_loader_win.h" |
17 #include "ui/base/win/shell.h" | 18 #include "ui/base/win/shell.h" |
18 #include "ui/gfx/native_widget_types.h" | 19 #include "ui/gfx/native_widget_types.h" |
19 #include "ui/gfx/path_win.h" | 20 #include "ui/gfx/path_win.h" |
| 21 #include "ui/gfx/screen.h" |
20 #include "ui/views/ime/input_method_win.h" | 22 #include "ui/views/ime/input_method_win.h" |
21 #include "ui/views/views_switches.h" | 23 #include "ui/views/views_switches.h" |
22 #include "ui/views/widget/desktop_capture_client.h" | 24 #include "ui/views/widget/desktop_capture_client.h" |
23 #include "ui/views/widget/desktop_screen_position_client.h" | 25 #include "ui/views/widget/desktop_screen_position_client.h" |
24 #include "ui/views/widget/widget_delegate.h" | 26 #include "ui/views/widget/widget_delegate.h" |
25 #include "ui/views/widget/widget_hwnd_utils.h" | 27 #include "ui/views/widget/widget_hwnd_utils.h" |
26 #include "ui/views/win/fullscreen_handler.h" | 28 #include "ui/views/win/fullscreen_handler.h" |
27 #include "ui/views/win/hwnd_message_handler.h" | 29 #include "ui/views/win/hwnd_message_handler.h" |
28 #include "ui/views/window/native_frame_view.h" | 30 #include "ui/views/window/native_frame_view.h" |
29 | 31 |
(...skipping 666 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
696 // DesktopRootWindowHost, public: | 698 // DesktopRootWindowHost, public: |
697 | 699 |
698 // static | 700 // static |
699 DesktopRootWindowHost* DesktopRootWindowHost::Create( | 701 DesktopRootWindowHost* DesktopRootWindowHost::Create( |
700 internal::NativeWidgetDelegate* native_widget_delegate, | 702 internal::NativeWidgetDelegate* native_widget_delegate, |
701 const gfx::Rect& initial_bounds) { | 703 const gfx::Rect& initial_bounds) { |
702 return new DesktopRootWindowHostWin(native_widget_delegate, initial_bounds); | 704 return new DesktopRootWindowHostWin(native_widget_delegate, initial_bounds); |
703 } | 705 } |
704 | 706 |
705 } // namespace views | 707 } // namespace views |
OLD | NEW |