| 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 CHROMEOS_IME_FAKE_IME_KEYBOARD_H_ | |
| 6 #define CHROMEOS_IME_FAKE_IME_KEYBOARD_H_ | |
| 7 | |
| 8 #include "chromeos/ime/ime_keyboard.h" | |
| 9 | |
| 10 #include <string> | |
| 11 | |
| 12 #include "base/compiler_specific.h" | |
| 13 #include "chromeos/chromeos_export.h" | |
| 14 | |
| 15 namespace chromeos { | |
| 16 namespace input_method { | |
| 17 | |
| 18 class ImeKeyboardOzone : public ImeKeyboard { | |
| 19 public: | |
| 20 ImeKeyboardOzone(); | |
| 21 virtual ~ImeKeyboardOzone(); | |
| 22 | |
| 23 virtual bool SetCurrentKeyboardLayoutByName(const std::string& layout_name) | |
| 24 override; | |
| 25 virtual bool SetAutoRepeatRate(const AutoRepeatRate& rate) override; | |
| 26 virtual bool SetAutoRepeatEnabled(bool enabled) override; | |
| 27 virtual bool ReapplyCurrentKeyboardLayout() override; | |
| 28 virtual void ReapplyCurrentModifierLockStatus() override; | |
| 29 virtual void DisableNumLock() override; | |
| 30 virtual void SetCapsLockEnabled(bool enable_caps_lock) override; | |
| 31 virtual bool CapsLockIsEnabled() override; | |
| 32 | |
| 33 private: | |
| 34 DISALLOW_COPY_AND_ASSIGN(ImeKeyboardOzone); | |
| 35 }; | |
| 36 | |
| 37 } // namespace input_method | |
| 38 } // namespace chromeos | |
| 39 | |
| 40 #endif // CHROMEOS_IME_FAKE_IME_KEYBOARD_H_ | |
| OLD | NEW |