| 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 25 matching lines...) Expand all Loading... |
| 36 bool GetSelectionRange(gfx::Range* range) const override; | 36 bool GetSelectionRange(gfx::Range* range) const override; |
| 37 bool SetSelectionRange(const gfx::Range& range) override; | 37 bool SetSelectionRange(const gfx::Range& range) override; |
| 38 bool DeleteRange(const gfx::Range& range) override; | 38 bool DeleteRange(const gfx::Range& range) override; |
| 39 bool GetTextFromRange(const gfx::Range& range, | 39 bool GetTextFromRange(const gfx::Range& range, |
| 40 base::string16* text) const override; | 40 base::string16* text) const override; |
| 41 void OnInputMethodChanged() override; | 41 void OnInputMethodChanged() override; |
| 42 bool ChangeTextDirectionAndLayoutAlignment( | 42 bool ChangeTextDirectionAndLayoutAlignment( |
| 43 base::i18n::TextDirection direction) override; | 43 base::i18n::TextDirection direction) override; |
| 44 void ExtendSelectionAndDelete(size_t before, size_t after) override; | 44 void ExtendSelectionAndDelete(size_t before, size_t after) override; |
| 45 void EnsureCaretInRect(const gfx::Rect& rect) override; | 45 void EnsureCaretInRect(const gfx::Rect& rect) override; |
| 46 void OnCandidateWindowShown() override; | |
| 47 void OnCandidateWindowUpdated() override; | |
| 48 void OnCandidateWindowHidden() override; | |
| 49 bool IsEditCommandEnabled(int command_id) override; | 46 bool IsEditCommandEnabled(int command_id) override; |
| 50 void SetEditCommandForNextKeyEvent(int command_id) override; | 47 void SetEditCommandForNextKeyEvent(int command_id) override; |
| 51 | 48 |
| 52 TextInputType text_input_type_; | 49 TextInputType text_input_type_; |
| 53 | 50 |
| 54 DISALLOW_COPY_AND_ASSIGN(DummyTextInputClient); | 51 DISALLOW_COPY_AND_ASSIGN(DummyTextInputClient); |
| 55 }; | 52 }; |
| 56 | 53 |
| 57 } // namespace ui | 54 } // namespace ui |
| 58 | 55 |
| 59 #endif // UI_BASE_IME_DUMMY_TEXT_INPUT_CLIENT_H_ | 56 #endif // UI_BASE_IME_DUMMY_TEXT_INPUT_CLIENT_H_ |
| OLD | NEW |