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_DUMMY_TEXT_INPUT_CLIENT_H_ | 5 #ifndef UI_BASE_IME_DUMMY_TEXT_INPUT_CLIENT_H_ |
6 #define UI_BASE_IME_DUMMY_TEXT_INPUT_CLIENT_H_ | 6 #define UI_BASE_IME_DUMMY_TEXT_INPUT_CLIENT_H_ |
7 | 7 |
8 #include "ui/base/ime/text_input_client.h" | 8 #include "ui/base/ime/text_input_client.h" |
9 | 9 |
10 namespace ui { | 10 namespace ui { |
(...skipping 27 matching lines...) Expand all Loading... |
38 virtual bool GetTextFromRange(const gfx::Range& range, | 38 virtual bool GetTextFromRange(const gfx::Range& range, |
39 base::string16* text) const OVERRIDE; | 39 base::string16* text) const OVERRIDE; |
40 virtual void OnInputMethodChanged() OVERRIDE; | 40 virtual void OnInputMethodChanged() OVERRIDE; |
41 virtual bool ChangeTextDirectionAndLayoutAlignment( | 41 virtual bool ChangeTextDirectionAndLayoutAlignment( |
42 base::i18n::TextDirection direction) OVERRIDE; | 42 base::i18n::TextDirection direction) OVERRIDE; |
43 virtual void ExtendSelectionAndDelete(size_t before, size_t after) OVERRIDE; | 43 virtual void ExtendSelectionAndDelete(size_t before, size_t after) OVERRIDE; |
44 virtual void EnsureCaretInRect(const gfx::Rect& rect) OVERRIDE; | 44 virtual void EnsureCaretInRect(const gfx::Rect& rect) OVERRIDE; |
45 virtual void OnCandidateWindowShown() OVERRIDE; | 45 virtual void OnCandidateWindowShown() OVERRIDE; |
46 virtual void OnCandidateWindowUpdated() OVERRIDE; | 46 virtual void OnCandidateWindowUpdated() OVERRIDE; |
47 virtual void OnCandidateWindowHidden() OVERRIDE; | 47 virtual void OnCandidateWindowHidden() OVERRIDE; |
| 48 virtual bool IsEditingCommandEnabled(int command_id) OVERRIDE; |
| 49 virtual void ExecuteEditingCommand(int command_id) OVERRIDE; |
48 | 50 |
49 TextInputType text_input_type_; | 51 TextInputType text_input_type_; |
50 | 52 |
51 DISALLOW_COPY_AND_ASSIGN(DummyTextInputClient); | 53 DISALLOW_COPY_AND_ASSIGN(DummyTextInputClient); |
52 }; | 54 }; |
53 | 55 |
54 } // namespace ui | 56 } // namespace ui |
55 | 57 |
56 #endif // UI_BASE_IME_DUMMY_TEXT_INPUT_CLIENT_H_ | 58 #endif // UI_BASE_IME_DUMMY_TEXT_INPUT_CLIENT_H_ |
OLD | NEW |