| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 COMPONENTS_EXO_POINTER_H_ | 5 #ifndef COMPONENTS_EXO_POINTER_H_ |
| 6 #define COMPONENTS_EXO_POINTER_H_ | 6 #define COMPONENTS_EXO_POINTER_H_ |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 | 9 |
| 10 #include "base/macros.h" | 10 #include "base/macros.h" |
| 11 #include "components/exo/surface_delegate.h" | 11 #include "components/exo/surface_delegate.h" |
| 12 #include "components/exo/surface_observer.h" | 12 #include "components/exo/surface_observer.h" |
| 13 #include "components/exo/wm_helper.h" | 13 #include "components/exo/wm_helper.h" |
| 14 #include "ui/events/event_handler.h" | 14 #include "ui/events/event_handler.h" |
| 15 #include "ui/gfx/geometry/point.h" | 15 #include "ui/gfx/geometry/point.h" |
| 16 #include "ui/gfx/geometry/point_f.h" | 16 #include "ui/gfx/geometry/point_f.h" |
| 17 | 17 |
| 18 namespace ui { | 18 namespace ui { |
| 19 class Event; | 19 class Event; |
| 20 class MouseEvent; | 20 class MouseEvent; |
| 21 class MouseWheelEvent; | |
| 22 } | 21 } |
| 23 | 22 |
| 24 namespace views { | 23 namespace views { |
| 25 class Widget; | 24 class Widget; |
| 26 } | 25 } |
| 27 | 26 |
| 28 namespace exo { | 27 namespace exo { |
| 29 class PointerDelegate; | 28 class PointerDelegate; |
| 30 class PointerStylusDelegate; | 29 class PointerStylusDelegate; |
| 31 class Surface; | 30 class Surface; |
| (...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 109 | 108 |
| 110 // True if the pointer is controlled via direct input. | 109 // True if the pointer is controlled via direct input. |
| 111 bool is_direct_input_ = false; | 110 bool is_direct_input_ = false; |
| 112 | 111 |
| 113 DISALLOW_COPY_AND_ASSIGN(Pointer); | 112 DISALLOW_COPY_AND_ASSIGN(Pointer); |
| 114 }; | 113 }; |
| 115 | 114 |
| 116 } // namespace exo | 115 } // namespace exo |
| 117 | 116 |
| 118 #endif // COMPONENTS_EXO_POINTER_H_ | 117 #endif // COMPONENTS_EXO_POINTER_H_ |
| OLD | NEW |