| 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/events/event.h" | 6 #include "ui/events/event.h" |
| 7 #include "ui/gfx/geometry/rect.h" | 7 #include "ui/gfx/geometry/rect.h" |
| 8 | 8 |
| 9 namespace ui { | 9 namespace ui { |
| 10 | 10 |
| (...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 102 return false; | 102 return false; |
| 103 } | 103 } |
| 104 | 104 |
| 105 void DummyTextInputClient::ExtendSelectionAndDelete(size_t before, | 105 void DummyTextInputClient::ExtendSelectionAndDelete(size_t before, |
| 106 size_t after) { | 106 size_t after) { |
| 107 } | 107 } |
| 108 | 108 |
| 109 void DummyTextInputClient::EnsureCaretInRect(const gfx::Rect& rect) { | 109 void DummyTextInputClient::EnsureCaretInRect(const gfx::Rect& rect) { |
| 110 } | 110 } |
| 111 | 111 |
| 112 bool DummyTextInputClient::IsEditCommandEnabled(int command_id) const { | 112 bool DummyTextInputClient::IsTextEditCommandEnabled( |
| 113 TextEditCommand command) const { |
| 113 return false; | 114 return false; |
| 114 } | 115 } |
| 115 | 116 |
| 116 void DummyTextInputClient::SetEditCommandForNextKeyEvent(int command_id) { | 117 void DummyTextInputClient::SetTextEditCommandForNextKeyEvent( |
| 117 } | 118 TextEditCommand command) {} |
| 118 | 119 |
| 119 } // namespace ui | 120 } // namespace ui |
| OLD | NEW |