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/aura/window_tree_host_win.h" | 5 #include "ui/aura/window_tree_host_win.h" |
6 | 6 |
7 #include <windows.h> | 7 #include <windows.h> |
8 | 8 |
9 #include <algorithm> | 9 #include <algorithm> |
10 | 10 |
11 #include "base/message_loop/message_loop.h" | 11 #include "base/message_loop/message_loop.h" |
12 #include "ui/aura/client/cursor_client.h" | 12 #include "ui/aura/client/cursor_client.h" |
13 #include "ui/aura/root_window.h" | 13 #include "ui/aura/window_event_dispatcher.h" |
14 #include "ui/base/cursor/cursor_loader_win.h" | 14 #include "ui/base/cursor/cursor_loader_win.h" |
15 #include "ui/base/view_prop.h" | 15 #include "ui/base/view_prop.h" |
16 #include "ui/events/event.h" | 16 #include "ui/events/event.h" |
17 #include "ui/gfx/display.h" | 17 #include "ui/gfx/display.h" |
18 #include "ui/gfx/insets.h" | 18 #include "ui/gfx/insets.h" |
19 #include "ui/gfx/screen.h" | 19 #include "ui/gfx/screen.h" |
20 | 20 |
21 using std::max; | 21 using std::max; |
22 using std::min; | 22 using std::min; |
23 | 23 |
(...skipping 281 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
305 namespace test { | 305 namespace test { |
306 | 306 |
307 // static | 307 // static |
308 void SetUsePopupAsRootWindowForTest(bool use) { | 308 void SetUsePopupAsRootWindowForTest(bool use) { |
309 use_popup_as_root_window_for_test = use; | 309 use_popup_as_root_window_for_test = use; |
310 } | 310 } |
311 | 311 |
312 } // namespace test | 312 } // namespace test |
313 | 313 |
314 } // namespace aura | 314 } // namespace aura |
OLD | NEW |