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_EVENTS_OZONE_LAYOUT_XKB_XKB_EVDEV_CODES_H_ | 5 #ifndef UI_EVENTS_OZONE_LAYOUT_XKB_XKB_EVDEV_CODES_H_ |
6 #define UI_EVENTS_OZONE_LAYOUT_XKB_XKB_EVDEV_CODES_H_ | 6 #define UI_EVENTS_OZONE_LAYOUT_XKB_XKB_EVDEV_CODES_H_ |
7 | 7 |
8 #include "ui/events/ozone/layout/events_ozone_layout_export.h" | 8 #include "ui/events/ozone/layout/events_ozone_layout_export.h" |
9 #include "ui/events/ozone/layout/xkb/xkb_key_code_converter.h" | 9 #include "ui/events/ozone/layout/xkb/xkb_key_code_converter.h" |
10 | 10 |
11 namespace ui { | 11 namespace ui { |
12 | 12 |
13 class EVENTS_OZONE_LAYOUT_EXPORT XkbEvdevCodes : public XkbKeyCodeConverter { | 13 class EVENTS_OZONE_LAYOUT_EXPORT XkbEvdevCodes : public XkbKeyCodeConverter { |
14 public: | 14 public: |
15 XkbEvdevCodes(); | 15 XkbEvdevCodes(); |
16 virtual ~XkbEvdevCodes(); | 16 ~XkbEvdevCodes() override; |
17 virtual xkb_keycode_t DomCodeToXkbKeyCode(DomCode dom_code) const override; | 17 xkb_keycode_t DomCodeToXkbKeyCode(DomCode dom_code) const override; |
18 }; | 18 }; |
19 | 19 |
20 } // namespace ui | 20 } // namespace ui |
21 | 21 |
22 #endif // UI_EVENTS_OZONE_LAYOUT_XKB_XKB_EVDEV_CODES_H_ | 22 #endif // UI_EVENTS_OZONE_LAYOUT_XKB_XKB_EVDEV_CODES_H_ |
OLD | NEW |