Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(71)

Side by Side Diff: ui/aura/event_injector.h

Issue 2869273010: aura: Introduce EventInjector. (Closed)
Patch Set: Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698