| 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 "base/memory/scoped_ptr.h" | 8 #include "base/memory/scoped_ptr.h" |
| 9 #include "ui/base/ime/composition_text.h" | 9 #include "ui/base/ime/composition_text.h" |
| 10 #include "ui/base/ime/input_method_base.h" | 10 #include "ui/base/ime/input_method_base.h" |
| (...skipping 15 matching lines...) Expand all Loading... |
| 26 | 26 |
| 27 // Overriden from InputMethod. | 27 // Overriden from InputMethod. |
| 28 bool OnUntranslatedIMEMessage(const base::NativeEvent& event, | 28 bool OnUntranslatedIMEMessage(const base::NativeEvent& event, |
| 29 NativeEventResult* result) override; | 29 NativeEventResult* result) override; |
| 30 bool DispatchKeyEvent(const ui::KeyEvent& event) override; | 30 bool DispatchKeyEvent(const ui::KeyEvent& event) override; |
| 31 void OnTextInputTypeChanged(const TextInputClient* client) override; | 31 void OnTextInputTypeChanged(const TextInputClient* client) override; |
| 32 void OnCaretBoundsChanged(const TextInputClient* client) override; | 32 void OnCaretBoundsChanged(const TextInputClient* client) override; |
| 33 void CancelComposition(const TextInputClient* client) override; | 33 void CancelComposition(const TextInputClient* client) override; |
| 34 void OnInputLocaleChanged() override; | 34 void OnInputLocaleChanged() override; |
| 35 std::string GetInputLocale() override; | 35 std::string GetInputLocale() override; |
| 36 bool IsActive() override; | |
| 37 bool IsCandidatePopupOpen() const override; | 36 bool IsCandidatePopupOpen() const override; |
| 38 void OnFocus() override; | 37 void OnFocus() override; |
| 39 void OnBlur() override; | 38 void OnBlur() override; |
| 40 | 39 |
| 41 // Overriden from ui::LinuxInputMethodContextDelegate | 40 // Overriden from ui::LinuxInputMethodContextDelegate |
| 42 void OnCommit(const base::string16& text) override; | 41 void OnCommit(const base::string16& text) override; |
| 43 void OnPreeditChanged(const CompositionText& composition_text) override; | 42 void OnPreeditChanged(const CompositionText& composition_text) override; |
| 44 void OnPreeditEnd() override; | 43 void OnPreeditEnd() override; |
| 45 void OnPreeditStart() override{}; | 44 void OnPreeditStart() override{}; |
| 46 | 45 |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 80 // If it's true then all input method result received before the next key | 79 // If it's true then all input method result received before the next key |
| 81 // event will be discarded. | 80 // event will be discarded. |
| 82 bool suppress_next_result_; | 81 bool suppress_next_result_; |
| 83 | 82 |
| 84 DISALLOW_COPY_AND_ASSIGN(InputMethodAuraLinux); | 83 DISALLOW_COPY_AND_ASSIGN(InputMethodAuraLinux); |
| 85 }; | 84 }; |
| 86 | 85 |
| 87 } // namespace ui | 86 } // namespace ui |
| 88 | 87 |
| 89 #endif // UI_BASE_IME_INPUT_METHOD_AURALINUX_H_ | 88 #endif // UI_BASE_IME_INPUT_METHOD_AURALINUX_H_ |
| OLD | NEW |