Add ICU message format support
[chromium-blink-merge.git] / ui / base / ime / chromeos / ime_keyboard_ozone.h
blobe9813c7bfa6b7382b966c56ad632cea03d181c12
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"
10 #include <string>
12 #include "base/compiler_specific.h"
13 #include "ui/base/ime/ui_base_ime_export.h"
15 namespace ui {
16 class InputController;
19 namespace chromeos {
20 namespace input_method {
22 class UI_BASE_IME_EXPORT ImeKeyboardOzone : public ImeKeyboard {
23 public:
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;
37 private:
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_