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 SERVICES_UI_WS_EVENT_DISPATCHER_H_ |
6 #define COMPONENTS_MUS_WS_EVENT_DISPATCHER_H_ | 6 #define SERVICES_UI_WS_EVENT_DISPATCHER_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <map> | 10 #include <map> |
11 #include <memory> | 11 #include <memory> |
12 #include <utility> | 12 #include <utility> |
13 | 13 |
14 #include "base/macros.h" | 14 #include "base/macros.h" |
15 #include "components/mus/common/types.h" | 15 #include "services/ui/common/types.h" |
16 #include "components/mus/public/interfaces/event_matcher.mojom.h" | 16 #include "services/ui/public/interfaces/event_matcher.mojom.h" |
17 #include "components/mus/ws/modal_window_controller.h" | 17 #include "services/ui/ws/modal_window_controller.h" |
18 #include "components/mus/ws/server_window_observer.h" | 18 #include "services/ui/ws/server_window_observer.h" |
19 #include "ui/gfx/geometry/rect_f.h" | 19 #include "ui/gfx/geometry/rect_f.h" |
20 | 20 |
21 namespace ui { | 21 namespace ui { |
22 class Event; | 22 class Event; |
23 class KeyEvent; | 23 class KeyEvent; |
24 class LocatedEvent; | 24 class LocatedEvent; |
25 } | 25 } |
26 | 26 |
27 namespace mus { | 27 namespace mus { |
28 namespace ws { | 28 namespace ws { |
(...skipping 197 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
226 | 226 |
227 // Keeps track of number of observe requests for each observed window. | 227 // Keeps track of number of observe requests for each observed window. |
228 std::map<const ServerWindow*, uint8_t> observed_windows_; | 228 std::map<const ServerWindow*, uint8_t> observed_windows_; |
229 | 229 |
230 DISALLOW_COPY_AND_ASSIGN(EventDispatcher); | 230 DISALLOW_COPY_AND_ASSIGN(EventDispatcher); |
231 }; | 231 }; |
232 | 232 |
233 } // namespace ws | 233 } // namespace ws |
234 } // namespace mus | 234 } // namespace mus |
235 | 235 |
236 #endif // COMPONENTS_MUS_WS_EVENT_DISPATCHER_H_ | 236 #endif // SERVICES_UI_WS_EVENT_DISPATCHER_H_ |
OLD | NEW |