| 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 #include "ui/base/ime/dummy_text_input_client.h" | 5 #include "ui/base/ime/dummy_text_input_client.h" |
| 6 #include "ui/gfx/geometry/rect.h" | 6 #include "ui/gfx/geometry/rect.h" |
| 7 | 7 |
| 8 namespace ui { | 8 namespace ui { |
| 9 | 9 |
| 10 DummyTextInputClient::DummyTextInputClient() | 10 DummyTextInputClient::DummyTextInputClient() |
| (...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 71 } | 71 } |
| 72 | 72 |
| 73 bool DummyTextInputClient::GetSelectionRange(gfx::Range* range) const { | 73 bool DummyTextInputClient::GetSelectionRange(gfx::Range* range) const { |
| 74 return false; | 74 return false; |
| 75 } | 75 } |
| 76 | 76 |
| 77 bool DummyTextInputClient::SetSelectionRange(const gfx::Range& range) { | 77 bool DummyTextInputClient::SetSelectionRange(const gfx::Range& range) { |
| 78 return false; | 78 return false; |
| 79 } | 79 } |
| 80 | 80 |
| 81 uint32 DummyTextInputClient::GetSelectionOffset() const { |
| 82 return 0; |
| 83 } |
| 84 |
| 81 bool DummyTextInputClient::DeleteRange(const gfx::Range& range) { | 85 bool DummyTextInputClient::DeleteRange(const gfx::Range& range) { |
| 82 return false; | 86 return false; |
| 83 } | 87 } |
| 84 | 88 |
| 85 bool DummyTextInputClient::GetTextFromRange(const gfx::Range& range, | 89 bool DummyTextInputClient::GetTextFromRange(const gfx::Range& range, |
| 86 base::string16* text) const { | 90 base::string16* text) const { |
| 87 return false; | 91 return false; |
| 88 } | 92 } |
| 89 | 93 |
| 90 void DummyTextInputClient::OnInputMethodChanged() { | 94 void DummyTextInputClient::OnInputMethodChanged() { |
| (...skipping 12 matching lines...) Expand all Loading... |
| 103 } | 107 } |
| 104 | 108 |
| 105 bool DummyTextInputClient::IsEditCommandEnabled(int command_id) { | 109 bool DummyTextInputClient::IsEditCommandEnabled(int command_id) { |
| 106 return false; | 110 return false; |
| 107 } | 111 } |
| 108 | 112 |
| 109 void DummyTextInputClient::SetEditCommandForNextKeyEvent(int command_id) { | 113 void DummyTextInputClient::SetEditCommandForNextKeyEvent(int command_id) { |
| 110 } | 114 } |
| 111 | 115 |
| 112 } // namespace ui | 116 } // namespace ui |
| OLD | NEW |