| 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 25 matching lines...) Expand all Loading... |
| 36 } | 36 } |
| 37 | 37 |
| 38 TextInputType DummyTextInputClient::GetTextInputType() const { | 38 TextInputType DummyTextInputClient::GetTextInputType() const { |
| 39 return text_input_type_; | 39 return text_input_type_; |
| 40 } | 40 } |
| 41 | 41 |
| 42 TextInputMode DummyTextInputClient::GetTextInputMode() const { | 42 TextInputMode DummyTextInputClient::GetTextInputMode() const { |
| 43 return TEXT_INPUT_MODE_DEFAULT; | 43 return TEXT_INPUT_MODE_DEFAULT; |
| 44 } | 44 } |
| 45 | 45 |
| 46 base::i18n::TextDirection DummyTextInputClient::GetTextDirection() const { |
| 47 return base::i18n::UNKNOWN_DIRECTION; |
| 48 } |
| 49 |
| 46 int DummyTextInputClient::GetTextInputFlags() const { | 50 int DummyTextInputClient::GetTextInputFlags() const { |
| 47 return 0; | 51 return 0; |
| 48 } | 52 } |
| 49 | 53 |
| 50 bool DummyTextInputClient::CanComposeInline() const { | 54 bool DummyTextInputClient::CanComposeInline() const { |
| 51 return false; | 55 return false; |
| 52 } | 56 } |
| 53 | 57 |
| 54 gfx::Rect DummyTextInputClient::GetCaretBounds() const { | 58 gfx::Rect DummyTextInputClient::GetCaretBounds() const { |
| 55 return gfx::Rect(); | 59 return gfx::Rect(); |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 106 } | 110 } |
| 107 | 111 |
| 108 bool DummyTextInputClient::IsEditCommandEnabled(int command_id) { | 112 bool DummyTextInputClient::IsEditCommandEnabled(int command_id) { |
| 109 return false; | 113 return false; |
| 110 } | 114 } |
| 111 | 115 |
| 112 void DummyTextInputClient::SetEditCommandForNextKeyEvent(int command_id) { | 116 void DummyTextInputClient::SetEditCommandForNextKeyEvent(int command_id) { |
| 113 } | 117 } |
| 114 | 118 |
| 115 } // namespace ui | 119 } // namespace ui |
| OLD | NEW |