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

Side by Side Diff: ui/ozone/public/system_input_injector.h

Issue 2484863005: ui: Cleanup class/struct forward declarations (Closed)
Patch Set: Fix another conflict Created 4 years, 1 month 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
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 UI_OZONE_PUBLIC_SYSTEM_INPUT_INJECTOR_H_ 5 #ifndef UI_OZONE_PUBLIC_SYSTEM_INPUT_INJECTOR_H_
6 #define UI_OZONE_PUBLIC_SYSTEM_INPUT_INJECTOR_H_ 6 #define UI_OZONE_PUBLIC_SYSTEM_INPUT_INJECTOR_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
11 #include "ui/events/event.h" 11 #include "ui/events/event.h"
12 #include "ui/events/keycodes/dom/keycode_converter.h" 12 #include "ui/events/keycodes/dom/keycode_converter.h"
13 #include "ui/gfx/geometry/point_f.h" 13 #include "ui/gfx/geometry/point_f.h"
14 #include "ui/ozone/ozone_export.h" 14 #include "ui/ozone/ozone_export.h"
15 15
16 namespace gfx { 16 namespace gfx {
17 class PointF; 17 class PointF;
18 } // namespace gfx 18 } // namespace gfx
19 19
20 namespace ui { 20 namespace ui {
21 class Event;
22 21
23 // Interface for converting input into ui::Events and injecting them to the 22 // Interface for converting input into ui::Events and injecting them to the
24 // Ozone platform. 23 // Ozone platform.
25 class OZONE_EXPORT SystemInputInjector { 24 class OZONE_EXPORT SystemInputInjector {
26 public: 25 public:
27 SystemInputInjector() {} 26 SystemInputInjector() {}
28 virtual ~SystemInputInjector() {} 27 virtual ~SystemInputInjector() {}
29 28
30 // Moves the cursor on the screen and generates the corresponding MouseMove or 29 // Moves the cursor on the screen and generates the corresponding MouseMove or
31 // MouseDragged event. |location| is in physical screen coordinates, 30 // MouseDragged event. |location| is in physical screen coordinates,
(...skipping 17 matching lines...) Expand all
49 bool down, 48 bool down,
50 bool suppress_auto_repeat) = 0; 49 bool suppress_auto_repeat) = 0;
51 50
52 private: 51 private:
53 DISALLOW_COPY_AND_ASSIGN(SystemInputInjector); 52 DISALLOW_COPY_AND_ASSIGN(SystemInputInjector);
54 }; 53 };
55 54
56 } // namespace ui 55 } // namespace ui
57 56
58 #endif // UI_OZONE_PUBLIC_SYSTEM_INPUT_INJECTOR_H_ 57 #endif // UI_OZONE_PUBLIC_SYSTEM_INPUT_INJECTOR_H_
OLDNEW
« no previous file with comments | « ui/ozone/platform/wayland/wayland_window.h ('k') | ui/platform_window/android/platform_window_android.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698