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