OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_VIEWS_IME_INPUT_METHOD_BRIDGE_H_ | 5 #ifndef UI_VIEWS_IME_INPUT_METHOD_BRIDGE_H_ |
6 #define UI_VIEWS_IME_INPUT_METHOD_BRIDGE_H_ | 6 #define UI_VIEWS_IME_INPUT_METHOD_BRIDGE_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
(...skipping 30 matching lines...) Expand all Loading... |
41 virtual bool OnUntranslatedIMEMessage(const base::NativeEvent& event, | 41 virtual bool OnUntranslatedIMEMessage(const base::NativeEvent& event, |
42 NativeEventResult* result) OVERRIDE; | 42 NativeEventResult* result) OVERRIDE; |
43 virtual void DispatchKeyEvent(const ui::KeyEvent& key) OVERRIDE; | 43 virtual void DispatchKeyEvent(const ui::KeyEvent& key) OVERRIDE; |
44 virtual void OnTextInputTypeChanged(View* view) OVERRIDE; | 44 virtual void OnTextInputTypeChanged(View* view) OVERRIDE; |
45 virtual void OnCaretBoundsChanged(View* view) OVERRIDE; | 45 virtual void OnCaretBoundsChanged(View* view) OVERRIDE; |
46 virtual void CancelComposition(View* view) OVERRIDE; | 46 virtual void CancelComposition(View* view) OVERRIDE; |
47 virtual void OnInputLocaleChanged() OVERRIDE; | 47 virtual void OnInputLocaleChanged() OVERRIDE; |
48 virtual std::string GetInputLocale() OVERRIDE; | 48 virtual std::string GetInputLocale() OVERRIDE; |
49 virtual base::i18n::TextDirection GetInputTextDirection() OVERRIDE; | 49 virtual base::i18n::TextDirection GetInputTextDirection() OVERRIDE; |
50 virtual bool IsActive() OVERRIDE; | 50 virtual bool IsActive() OVERRIDE; |
| 51 virtual bool IsCandidatePopupOpen() const OVERRIDE; |
51 | 52 |
52 // Overridden from TextInputClient: | 53 // Overridden from TextInputClient: |
53 virtual void SetCompositionText( | 54 virtual void SetCompositionText( |
54 const ui::CompositionText& composition) OVERRIDE; | 55 const ui::CompositionText& composition) OVERRIDE; |
55 virtual void ConfirmCompositionText() OVERRIDE; | 56 virtual void ConfirmCompositionText() OVERRIDE; |
56 virtual void ClearCompositionText() OVERRIDE; | 57 virtual void ClearCompositionText() OVERRIDE; |
57 virtual void InsertText(const string16& text) OVERRIDE; | 58 virtual void InsertText(const string16& text) OVERRIDE; |
58 virtual void InsertChar(char16 ch, int flags) OVERRIDE; | 59 virtual void InsertChar(char16 ch, int flags) OVERRIDE; |
59 virtual gfx::NativeWindow GetAttachedWindow() const OVERRIDE; | 60 virtual gfx::NativeWindow GetAttachedWindow() const OVERRIDE; |
60 virtual ui::TextInputType GetTextInputType() const OVERRIDE; | 61 virtual ui::TextInputType GetTextInputType() const OVERRIDE; |
(...skipping 29 matching lines...) Expand all Loading... |
90 const bool shared_input_method_; | 91 const bool shared_input_method_; |
91 | 92 |
92 bool context_focused_; | 93 bool context_focused_; |
93 | 94 |
94 DISALLOW_COPY_AND_ASSIGN(InputMethodBridge); | 95 DISALLOW_COPY_AND_ASSIGN(InputMethodBridge); |
95 }; | 96 }; |
96 | 97 |
97 } // namespace views | 98 } // namespace views |
98 | 99 |
99 #endif // UI_VIEWS_IME_INPUT_METHOD_BRIDGE_H_ | 100 #endif // UI_VIEWS_IME_INPUT_METHOD_BRIDGE_H_ |
OLD | NEW |