| 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 21 matching lines...) Expand all Loading... |
| 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 bool IsCandidatePopupOpen() const override; | 36 bool IsCandidatePopupOpen() const override; |
| 37 | 37 |
| 38 // Overriden from ui::LinuxInputMethodContextDelegate | 38 // Overriden from ui::LinuxInputMethodContextDelegate |
| 39 void OnCommit(const base::string16& text) override; | 39 void OnCommit(const base::string16& text) override; |
| 40 void OnPreeditChanged(const CompositionText& composition_text) override; | 40 void OnPreeditChanged(const CompositionText& composition_text) override; |
| 41 void OnPreeditEnd() override; | 41 void OnPreeditEnd() override; |
| 42 void OnPreeditStart() override{}; | 42 void OnPreeditStart() override {} |
| 43 | 43 |
| 44 protected: | 44 protected: |
| 45 // Overridden from InputMethodBase. | 45 // Overridden from InputMethodBase. |
| 46 void OnWillChangeFocusedClient(TextInputClient* focused_before, | 46 void OnWillChangeFocusedClient(TextInputClient* focused_before, |
| 47 TextInputClient* focused) override; | 47 TextInputClient* focused) override; |
| 48 void OnDidChangeFocusedClient(TextInputClient* focused_before, | 48 void OnDidChangeFocusedClient(TextInputClient* focused_before, |
| 49 TextInputClient* focused) override; | 49 TextInputClient* focused) override; |
| 50 | 50 |
| 51 private: | 51 private: |
| 52 bool HasInputMethodResult(); | 52 bool HasInputMethodResult(); |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 96 | 96 |
| 97 // Used for making callbacks. | 97 // Used for making callbacks. |
| 98 base::WeakPtrFactory<InputMethodAuraLinux> weak_ptr_factory_; | 98 base::WeakPtrFactory<InputMethodAuraLinux> weak_ptr_factory_; |
| 99 | 99 |
| 100 DISALLOW_COPY_AND_ASSIGN(InputMethodAuraLinux); | 100 DISALLOW_COPY_AND_ASSIGN(InputMethodAuraLinux); |
| 101 }; | 101 }; |
| 102 | 102 |
| 103 } // namespace ui | 103 } // namespace ui |
| 104 | 104 |
| 105 #endif // UI_BASE_IME_INPUT_METHOD_AURALINUX_H_ | 105 #endif // UI_BASE_IME_INPUT_METHOD_AURALINUX_H_ |
| OLD | NEW |