OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_INPUT_METHOD_AURALINUX_H_ | 5 #ifndef UI_BASE_IME_INPUT_METHOD_AURALINUX_H_ |
6 #define UI_BASE_IME_INPUT_METHOD_AURALINUX_H_ | 6 #define UI_BASE_IME_INPUT_METHOD_AURALINUX_H_ |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 | 9 |
10 #include "base/macros.h" | 10 #include "base/macros.h" |
(...skipping 15 matching lines...) Expand all Loading... |
26 | 26 |
27 LinuxInputMethodContext* GetContextForTesting(bool is_simple); | 27 LinuxInputMethodContext* GetContextForTesting(bool is_simple); |
28 | 28 |
29 // Overriden from InputMethod. | 29 // Overriden from InputMethod. |
30 bool OnUntranslatedIMEMessage(const base::NativeEvent& event, | 30 bool OnUntranslatedIMEMessage(const base::NativeEvent& event, |
31 NativeEventResult* result) override; | 31 NativeEventResult* result) override; |
32 void DispatchKeyEvent(ui::KeyEvent* event) override; | 32 void DispatchKeyEvent(ui::KeyEvent* event) override; |
33 void OnTextInputTypeChanged(const TextInputClient* client) override; | 33 void OnTextInputTypeChanged(const TextInputClient* client) override; |
34 void OnCaretBoundsChanged(const TextInputClient* client) override; | 34 void OnCaretBoundsChanged(const TextInputClient* client) override; |
35 void CancelComposition(const TextInputClient* client) override; | 35 void CancelComposition(const TextInputClient* client) override; |
36 void OnInputLocaleChanged() override; | |
37 std::string GetInputLocale() override; | |
38 bool IsCandidatePopupOpen() const override; | 36 bool IsCandidatePopupOpen() const override; |
39 | 37 |
40 // Overriden from ui::LinuxInputMethodContextDelegate | 38 // Overriden from ui::LinuxInputMethodContextDelegate |
41 void OnCommit(const base::string16& text) override; | 39 void OnCommit(const base::string16& text) override; |
42 void OnPreeditChanged(const CompositionText& composition_text) override; | 40 void OnPreeditChanged(const CompositionText& composition_text) override; |
43 void OnPreeditEnd() override; | 41 void OnPreeditEnd() override; |
44 void OnPreeditStart() override{}; | 42 void OnPreeditStart() override{}; |
45 | 43 |
46 protected: | 44 protected: |
47 // Overridden from InputMethodBase. | 45 // Overridden from InputMethodBase. |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
98 | 96 |
99 // Used for making callbacks. | 97 // Used for making callbacks. |
100 base::WeakPtrFactory<InputMethodAuraLinux> weak_ptr_factory_; | 98 base::WeakPtrFactory<InputMethodAuraLinux> weak_ptr_factory_; |
101 | 99 |
102 DISALLOW_COPY_AND_ASSIGN(InputMethodAuraLinux); | 100 DISALLOW_COPY_AND_ASSIGN(InputMethodAuraLinux); |
103 }; | 101 }; |
104 | 102 |
105 } // namespace ui | 103 } // namespace ui |
106 | 104 |
107 #endif // UI_BASE_IME_INPUT_METHOD_AURALINUX_H_ | 105 #endif // UI_BASE_IME_INPUT_METHOD_AURALINUX_H_ |
OLD | NEW |