OLD | NEW |
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 "base/memory/scoped_ptr.h" | 8 #include "base/memory/scoped_ptr.h" |
9 #include "ui/events/event.h" | 9 #include "ui/events/event.h" |
10 #include "ui/events/keycodes/dom4/keycode_converter.h" | 10 #include "ui/events/keycodes/dom/keycode_converter.h" |
11 #include "ui/gfx/geometry/point_f.h" | 11 #include "ui/gfx/geometry/point_f.h" |
12 #include "ui/ozone/ozone_export.h" | 12 #include "ui/ozone/ozone_export.h" |
13 | 13 |
14 namespace gfx { | 14 namespace gfx { |
15 class PointF; | 15 class PointF; |
16 } // namespace gfx | 16 } // namespace gfx |
17 | 17 |
18 namespace ui { | 18 namespace ui { |
19 class Event; | 19 class Event; |
20 | 20 |
(...skipping 22 matching lines...) Expand all Loading... |
43 // correct logical key based on the current keyboard layout. | 43 // correct logical key based on the current keyboard layout. |
44 virtual void InjectKeyPress(DomCode physical_key, bool down) = 0; | 44 virtual void InjectKeyPress(DomCode physical_key, bool down) = 0; |
45 | 45 |
46 private: | 46 private: |
47 DISALLOW_COPY_AND_ASSIGN(SystemInputInjector); | 47 DISALLOW_COPY_AND_ASSIGN(SystemInputInjector); |
48 }; | 48 }; |
49 | 49 |
50 } // namespace ui | 50 } // namespace ui |
51 | 51 |
52 #endif // UI_OZONE_PUBLIC_SYSTEM_INPUT_INJECTOR_H_ | 52 #endif // UI_OZONE_PUBLIC_SYSTEM_INPUT_INJECTOR_H_ |
OLD | NEW |