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.
5 #ifndef UI_BASE_IME_CHROMEOS_IME_KEYBOARD_OZONE_H_
6 #define UI_BASE_IME_CHROMEOS_IME_KEYBOARD_OZONE_H_
8 #include "ui/base/ime/chromeos/ime_keyboard.h"
12 #include "base/compiler_specific.h"
13 #include "ui/base/ime/ui_base_ime_export.h"
16 class InputController
;
20 namespace input_method
{
22 class UI_BASE_IME_EXPORT ImeKeyboardOzone
: public ImeKeyboard
{
24 ImeKeyboardOzone(ui::InputController
* controller
);
25 ~ImeKeyboardOzone() override
;
27 bool SetCurrentKeyboardLayoutByName(const std::string
& layout_name
) override
;
28 bool SetAutoRepeatRate(const AutoRepeatRate
& rate
) override
;
29 bool SetAutoRepeatEnabled(bool enabled
) override
;
30 bool GetAutoRepeatEnabled() override
;
31 bool ReapplyCurrentKeyboardLayout() override
;
32 void ReapplyCurrentModifierLockStatus() override
;
33 void DisableNumLock() override
;
34 void SetCapsLockEnabled(bool enable_caps_lock
) override
;
35 bool CapsLockIsEnabled() override
;
38 ui::InputController
* input_controller_
;
40 DISALLOW_COPY_AND_ASSIGN(ImeKeyboardOzone
);
43 } // namespace input_method
44 } // namespace chromeos
46 #endif // UI_BASE_IME_CHROMEOS_IME_KEYBOARD_OZONE_H_