Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright 2017 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef UI_AURA_EVENT_INJECTOR_H_ | |
| 6 #define UI_AURA_EVENT_INJECTOR_H_ | |
| 7 | |
| 8 #include "services/ui/public/interfaces/window_server_test.mojom.h" | |
| 9 #include "ui/aura/aura_export.h" | |
| 10 | |
| 11 namespace ui { | |
| 12 class Event; | |
| 13 struct EventDispatchDetails; | |
| 14 } | |
| 15 | |
| 16 namespace aura { | |
| 17 | |
| 18 class WindowTreeHost; | |
| 19 | |
| 20 class AURA_EXPORT EventInjector { | |
|
sky
2017/05/12 12:11:51
Add description
| |
| 21 public: | |
| 22 EventInjector(); | |
| 23 ~EventInjector(); | |
| 24 | |
| 25 ui::EventDispatchDetails Inject(WindowTreeHost* host, ui::Event* event); | |
| 26 | |
| 27 private: | |
| 28 ui::mojom::WindowServerTestPtr window_server_ptr_; | |
| 29 | |
| 30 DISALLOW_COPY_AND_ASSIGN(EventInjector); | |
| 31 }; | |
| 32 | |
| 33 } // namespace aura | |
| 34 | |
| 35 #endif // UI_AURA_EVENT_INJECTOR_H_ | |
| OLD | NEW |