Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(116)

Side by Side Diff: ui/base/ime/chromeos/ime_keyboard_ozone.h

Issue 895363005: Revert of Split ui/base/ime into a new component (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « ui/base/ime/chromeos/ime_keyboard.h ('k') | ui/base/ime/chromeos/ime_keyboard_x11.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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_
OLDNEW
« no previous file with comments | « ui/base/ime/chromeos/ime_keyboard.h ('k') | ui/base/ime/chromeos/ime_keyboard_x11.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698