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_BASE_IME_FAKE_INPUT_METHOD_H_ | 5 #ifndef UI_BASE_IME_FAKE_INPUT_METHOD_H_ |
6 #define UI_BASE_IME_FAKE_INPUT_METHOD_H_ | 6 #define UI_BASE_IME_FAKE_INPUT_METHOD_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
(...skipping 26 matching lines...) Expand all Loading... | |
37 virtual TextInputClient* GetTextInputClient() const OVERRIDE; | 37 virtual TextInputClient* GetTextInputClient() const OVERRIDE; |
38 virtual bool DispatchKeyEvent(const base::NativeEvent& native_event) OVERRIDE; | 38 virtual bool DispatchKeyEvent(const base::NativeEvent& native_event) OVERRIDE; |
39 virtual bool DispatchFabricatedKeyEvent(const ui::KeyEvent& event) OVERRIDE; | 39 virtual bool DispatchFabricatedKeyEvent(const ui::KeyEvent& event) OVERRIDE; |
40 virtual void OnTextInputTypeChanged(const TextInputClient* client) OVERRIDE; | 40 virtual void OnTextInputTypeChanged(const TextInputClient* client) OVERRIDE; |
41 virtual void OnCaretBoundsChanged(const TextInputClient* client) OVERRIDE; | 41 virtual void OnCaretBoundsChanged(const TextInputClient* client) OVERRIDE; |
42 virtual void CancelComposition(const TextInputClient* client) OVERRIDE; | 42 virtual void CancelComposition(const TextInputClient* client) OVERRIDE; |
43 virtual void OnInputLocaleChanged() OVERRIDE; | 43 virtual void OnInputLocaleChanged() OVERRIDE; |
44 virtual std::string GetInputLocale() OVERRIDE; | 44 virtual std::string GetInputLocale() OVERRIDE; |
45 virtual base::i18n::TextDirection GetInputTextDirection() OVERRIDE; | 45 virtual base::i18n::TextDirection GetInputTextDirection() OVERRIDE; |
46 virtual bool IsActive() OVERRIDE; | 46 virtual bool IsActive() OVERRIDE; |
47 virtual ui::TextInputType GetTextInputType() const OVERRIDE; | 47 virtual ui::TextInputType GetTextInputType() const OVERRIDE; |
Yohei Yukawa
2013/08/29 09:13:02
Should be TextInputType for the consistency?
yoichio
2013/08/29 09:30:04
Done.
| |
48 virtual TextInputMode GetTextInputMode() const OVERRIDE; | |
48 virtual bool CanComposeInline() const OVERRIDE; | 49 virtual bool CanComposeInline() const OVERRIDE; |
49 virtual bool IsCandidatePopupOpen() const OVERRIDE; | 50 virtual bool IsCandidatePopupOpen() const OVERRIDE; |
50 virtual void AddObserver(InputMethodObserver* observer) OVERRIDE; | 51 virtual void AddObserver(InputMethodObserver* observer) OVERRIDE; |
51 virtual void RemoveObserver(InputMethodObserver* observer) OVERRIDE; | 52 virtual void RemoveObserver(InputMethodObserver* observer) OVERRIDE; |
52 | 53 |
53 private: | 54 private: |
54 internal::InputMethodDelegate* delegate_; | 55 internal::InputMethodDelegate* delegate_; |
55 TextInputClient* text_input_client_; | 56 TextInputClient* text_input_client_; |
56 ObserverList<InputMethodObserver> observers_; | 57 ObserverList<InputMethodObserver> observers_; |
57 | 58 |
58 DISALLOW_COPY_AND_ASSIGN(FakeInputMethod); | 59 DISALLOW_COPY_AND_ASSIGN(FakeInputMethod); |
59 }; | 60 }; |
60 | 61 |
61 } // namespace ui | 62 } // namespace ui |
62 | 63 |
63 #endif // UI_BASE_IME_FAKE_INPUT_METHOD_H_ | 64 #endif // UI_BASE_IME_FAKE_INPUT_METHOD_H_ |
OLD | NEW |