OLD | NEW |
(Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef UI_EVENTS_OZONE_LAYOUT_STUB_STUB_KEYBOARD_LAYOUTS_H_ |
| 6 #define UI_EVENTS_OZONE_LAYOUT_STUB_STUB_KEYBOARD_LAYOUTS_H_ |
| 7 |
| 8 #include "ui/events/ozone/layout/events_ozone_layout_export.h" |
| 9 #include "ui/ozone/public/keyboard_layouts.h" |
| 10 |
| 11 namespace ui { |
| 12 |
| 13 class EVENTS_OZONE_LAYOUT_EXPORT StubKeyboardLayouts |
| 14 : public KeyboardLayoutsOzone { |
| 15 public: |
| 16 StubKeyboardLayouts(); |
| 17 virtual ~StubKeyboardLayouts(); |
| 18 |
| 19 // KeyboardLayoutsOzone: |
| 20 virtual bool CanSetCurrentLayout() override; |
| 21 virtual bool SetCurrentLayoutByName(const std::string& layout_name) override; |
| 22 |
| 23 virtual bool UsesISOLevel5Shift() override; |
| 24 virtual bool UsesAltGr() override; |
| 25 |
| 26 virtual bool Lookup(DomCode dom_code, |
| 27 int flags, |
| 28 DomKey* dom_key, |
| 29 base::char16* character, |
| 30 KeyboardCode* key_code) override; |
| 31 }; |
| 32 |
| 33 } // namespace ui |
| 34 |
| 35 #endif // UI_EVENTS_OZONE_LAYOUT_STUB_STUB_KEYBOARD_LAYOUTS_H_ |
OLD | NEW |