OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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.h" | 5 #include "ui/aura/window_tree_host.h" |
6 | 6 |
7 #include "base/thread_task_runner_handle.h" | 7 #include "base/threading/thread_task_runner_handle.h" |
8 #include "base/trace_event/trace_event.h" | 8 #include "base/trace_event/trace_event.h" |
9 #include "ui/aura/client/capture_client.h" | 9 #include "ui/aura/client/capture_client.h" |
10 #include "ui/aura/client/cursor_client.h" | 10 #include "ui/aura/client/cursor_client.h" |
11 #include "ui/aura/env.h" | 11 #include "ui/aura/env.h" |
12 #include "ui/aura/window.h" | 12 #include "ui/aura/window.h" |
13 #include "ui/aura/window_event_dispatcher.h" | 13 #include "ui/aura/window_event_dispatcher.h" |
14 #include "ui/aura/window_targeter.h" | 14 #include "ui/aura/window_targeter.h" |
15 #include "ui/aura/window_tree_host_observer.h" | 15 #include "ui/aura/window_tree_host_observer.h" |
16 #include "ui/base/ime/input_method.h" | 16 #include "ui/base/ime/input_method.h" |
17 #include "ui/base/ime/input_method_factory.h" | 17 #include "ui/base/ime/input_method_factory.h" |
(...skipping 301 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
319 client::CursorClient* cursor_client = client::GetCursorClient(window()); | 319 client::CursorClient* cursor_client = client::GetCursorClient(window()); |
320 if (cursor_client) { | 320 if (cursor_client) { |
321 const display::Display& display = | 321 const display::Display& display = |
322 display::Screen::GetScreen()->GetDisplayNearestWindow(window()); | 322 display::Screen::GetScreen()->GetDisplayNearestWindow(window()); |
323 cursor_client->SetDisplay(display); | 323 cursor_client->SetDisplay(display); |
324 } | 324 } |
325 dispatcher()->OnCursorMovedToRootLocation(root_location); | 325 dispatcher()->OnCursorMovedToRootLocation(root_location); |
326 } | 326 } |
327 | 327 |
328 } // namespace aura | 328 } // namespace aura |
OLD | NEW |