OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 "ash/display/cursor_window_controller.h" | 5 #include "ash/display/cursor_window_controller.h" |
6 | 6 |
7 #include "ash/display/display_controller.h" | 7 #include "ash/display/display_controller.h" |
8 #include "ash/display/mirror_window_controller.h" | 8 #include "ash/display/mirror_window_controller.h" |
9 #include "ash/root_window_controller.h" | 9 #include "ash/root_window_controller.h" |
10 #include "ash/shell.h" | 10 #include "ash/shell.h" |
11 #include "ash/shell_window_ids.h" | 11 #include "ash/shell_window_ids.h" |
12 #include "ui/aura/env.h" | 12 #include "ui/aura/env.h" |
13 #include "ui/aura/root_window.h" | |
14 #include "ui/aura/window_delegate.h" | 13 #include "ui/aura/window_delegate.h" |
| 14 #include "ui/aura/window_event_dispatcher.h" |
15 #include "ui/base/cursor/cursors_aura.h" | 15 #include "ui/base/cursor/cursors_aura.h" |
16 #include "ui/base/hit_test.h" | 16 #include "ui/base/hit_test.h" |
17 #include "ui/base/resource/resource_bundle.h" | 17 #include "ui/base/resource/resource_bundle.h" |
18 #include "ui/compositor/dip_util.h" | 18 #include "ui/compositor/dip_util.h" |
19 #include "ui/gfx/canvas.h" | 19 #include "ui/gfx/canvas.h" |
20 #include "ui/gfx/display.h" | 20 #include "ui/gfx/display.h" |
21 #include "ui/gfx/image/image_skia.h" | 21 #include "ui/gfx/image/image_skia.h" |
22 #include "ui/gfx/image/image_skia_operations.h" | 22 #include "ui/gfx/image/image_skia_operations.h" |
23 | 23 |
24 namespace ash { | 24 namespace ash { |
(...skipping 231 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
256 if (cursor_window_) { | 256 if (cursor_window_) { |
257 cursor_window_->SetBounds(gfx::Rect(delegate_->size())); | 257 cursor_window_->SetBounds(gfx::Rect(delegate_->size())); |
258 cursor_window_->SchedulePaintInRect( | 258 cursor_window_->SchedulePaintInRect( |
259 gfx::Rect(cursor_window_->bounds().size())); | 259 gfx::Rect(cursor_window_->bounds().size())); |
260 UpdateLocation(); | 260 UpdateLocation(); |
261 } | 261 } |
262 } | 262 } |
263 | 263 |
264 } // namespace internal | 264 } // namespace internal |
265 } // namespace ash | 265 } // namespace ash |
OLD | NEW |