| 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/window_event_dispatcher.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/compositor/compositor.h" | 16 #include "ui/compositor/compositor.h" |
| 17 #include "ui/events/event.h" | 17 #include "ui/events/event.h" |
| 18 #include "ui/gfx/display.h" | 18 #include "ui/gfx/display.h" |
| 19 #include "ui/gfx/insets.h" | 19 #include "ui/gfx/geometry/insets.h" |
| 20 #include "ui/gfx/screen.h" | 20 #include "ui/gfx/screen.h" |
| 21 | 21 |
| 22 using std::max; | 22 using std::max; |
| 23 using std::min; | 23 using std::min; |
| 24 | 24 |
| 25 namespace aura { | 25 namespace aura { |
| 26 namespace { | 26 namespace { |
| 27 | 27 |
| 28 bool use_popup_as_root_window_for_test = false; | 28 bool use_popup_as_root_window_for_test = false; |
| 29 | 29 |
| (...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 224 namespace test { | 224 namespace test { |
| 225 | 225 |
| 226 // static | 226 // static |
| 227 void SetUsePopupAsRootWindowForTest(bool use) { | 227 void SetUsePopupAsRootWindowForTest(bool use) { |
| 228 use_popup_as_root_window_for_test = use; | 228 use_popup_as_root_window_for_test = use; |
| 229 } | 229 } |
| 230 | 230 |
| 231 } // namespace test | 231 } // namespace test |
| 232 | 232 |
| 233 } // namespace aura | 233 } // namespace aura |
| OLD | NEW |