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/common/ash_constants.h" | 7 #include "ash/ash_constants.h" |
8 #include "ash/common/ash_switches.h" | 8 #include "ash/ash_switches.h" |
9 #include "ash/display/mirror_window_controller.h" | 9 #include "ash/display/mirror_window_controller.h" |
10 #include "ash/display/window_tree_host_manager.h" | 10 #include "ash/display/window_tree_host_manager.h" |
11 #include "ash/public/cpp/shell_window_ids.h" | 11 #include "ash/public/cpp/shell_window_ids.h" |
12 #include "ash/root_window_controller.h" | 12 #include "ash/root_window_controller.h" |
13 #include "ash/shell.h" | 13 #include "ash/shell.h" |
14 #include "base/command_line.h" | 14 #include "base/command_line.h" |
15 #include "ui/aura/env.h" | 15 #include "ui/aura/env.h" |
16 #include "ui/aura/window_delegate.h" | 16 #include "ui/aura/window_delegate.h" |
17 #include "ui/aura/window_event_dispatcher.h" | 17 #include "ui/aura/window_event_dispatcher.h" |
18 #include "ui/base/cursor/cursors_aura.h" | 18 #include "ui/base/cursor/cursors_aura.h" |
(...skipping 312 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
331 cursor_window_->Show(); | 331 cursor_window_->Show(); |
332 else | 332 else |
333 cursor_window_->Hide(); | 333 cursor_window_->Hide(); |
334 } | 334 } |
335 | 335 |
336 const gfx::ImageSkia& CursorWindowController::GetCursorImageForTest() const { | 336 const gfx::ImageSkia& CursorWindowController::GetCursorImageForTest() const { |
337 return delegate_->cursor_image(); | 337 return delegate_->cursor_image(); |
338 } | 338 } |
339 | 339 |
340 } // namespace ash | 340 } // namespace ash |
OLD | NEW |