| 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_MUS_WS_EVENT_DISPATCHER_H_ | 5 #ifndef COMPONENTS_MUS_WS_EVENT_DISPATCHER_H_ |
| 6 #define COMPONENTS_MUS_WS_EVENT_DISPATCHER_H_ | 6 #define COMPONENTS_MUS_WS_EVENT_DISPATCHER_H_ |
| 7 | 7 |
| 8 #include <stdint.h> |
| 9 |
| 8 #include <map> | 10 #include <map> |
| 9 | 11 |
| 12 #include "base/macros.h" |
| 10 #include "base/memory/scoped_ptr.h" | 13 #include "base/memory/scoped_ptr.h" |
| 11 #include "cc/surfaces/surface_id.h" | 14 #include "cc/surfaces/surface_id.h" |
| 12 #include "components/mus/public/interfaces/input_event_constants.mojom.h" | 15 #include "components/mus/public/interfaces/input_event_constants.mojom.h" |
| 13 #include "components/mus/public/interfaces/input_event_matcher.mojom.h" | 16 #include "components/mus/public/interfaces/input_event_matcher.mojom.h" |
| 14 #include "components/mus/public/interfaces/input_events.mojom.h" | 17 #include "components/mus/public/interfaces/input_events.mojom.h" |
| 15 #include "components/mus/public/interfaces/input_key_codes.mojom.h" | 18 #include "components/mus/public/interfaces/input_key_codes.mojom.h" |
| 16 #include "components/mus/ws/server_window_observer.h" | 19 #include "components/mus/ws/server_window_observer.h" |
| 17 #include "ui/gfx/geometry/rect_f.h" | 20 #include "ui/gfx/geometry/rect_f.h" |
| 18 | 21 |
| 19 namespace mus { | 22 namespace mus { |
| (...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 120 using PointerIdToTargetMap = std::map<int32_t, PointerTarget>; | 123 using PointerIdToTargetMap = std::map<int32_t, PointerTarget>; |
| 121 PointerIdToTargetMap pointer_targets_; | 124 PointerIdToTargetMap pointer_targets_; |
| 122 | 125 |
| 123 DISALLOW_COPY_AND_ASSIGN(EventDispatcher); | 126 DISALLOW_COPY_AND_ASSIGN(EventDispatcher); |
| 124 }; | 127 }; |
| 125 | 128 |
| 126 } // namespace ws | 129 } // namespace ws |
| 127 } // namespace mus | 130 } // namespace mus |
| 128 | 131 |
| 129 #endif // COMPONENTS_MUS_WS_EVENT_DISPATCHER_H_ | 132 #endif // COMPONENTS_MUS_WS_EVENT_DISPATCHER_H_ |
| OLD | NEW |