| 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 #ifndef ASH_DISPLAY_CURSOR_WINDOW_CONTROLLER_H_ | 5 #ifndef ASH_DISPLAY_CURSOR_WINDOW_CONTROLLER_H_ |
| 6 #define ASH_DISPLAY_CURSOR_WINDOW_CONTROLLER_H_ | 6 #define ASH_DISPLAY_CURSOR_WINDOW_CONTROLLER_H_ |
| 7 | 7 |
| 8 #include "ui/aura/window.h" | 8 #include "ui/aura/window.h" |
| 9 #include "ui/base/cursor/cursor.h" | 9 #include "ui/base/cursor/cursor.h" |
| 10 #include "ui/gfx/display.h" | 10 #include "ui/gfx/display.h" |
| 11 | 11 |
| 12 namespace ash { | 12 namespace ash { |
| 13 namespace test{ | 13 namespace test { |
| 14 class MirrorWindowTestApi; | 14 class MirrorWindowTestApi; |
| 15 } | 15 } |
| 16 | 16 |
| 17 class CursorWindowDelegate; | 17 class CursorWindowDelegate; |
| 18 | 18 |
| 19 // Draws a mouse cursor on a given container window. | 19 // Draws a mouse cursor on a given container window. |
| 20 // When cursor compositing is disabled, CursorWindowController is responsible | 20 // When cursor compositing is disabled, CursorWindowController is responsible |
| 21 // to scale and rotate the mouse cursor bitmap to match settings of the | 21 // to scale and rotate the mouse cursor bitmap to match settings of the |
| 22 // primary display. | 22 // primary display. |
| 23 // When cursor compositing is enabled, just draw the cursor as-is. | 23 // When cursor compositing is enabled, just draw the cursor as-is. |
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 78 | 78 |
| 79 scoped_ptr<aura::Window> cursor_window_; | 79 scoped_ptr<aura::Window> cursor_window_; |
| 80 scoped_ptr<CursorWindowDelegate> delegate_; | 80 scoped_ptr<CursorWindowDelegate> delegate_; |
| 81 | 81 |
| 82 DISALLOW_COPY_AND_ASSIGN(CursorWindowController); | 82 DISALLOW_COPY_AND_ASSIGN(CursorWindowController); |
| 83 }; | 83 }; |
| 84 | 84 |
| 85 } // namespace ash | 85 } // namespace ash |
| 86 | 86 |
| 87 #endif // ASH_DISPLAY_CURSOR_WINDOW_CONTROLLER_H_ | 87 #endif // ASH_DISPLAY_CURSOR_WINDOW_CONTROLLER_H_ |
| OLD | NEW |