| 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 14 matching lines...) Expand all Loading... |
| 25 | 25 |
| 26 void DummyTextInputClient::ClearCompositionText() { | 26 void DummyTextInputClient::ClearCompositionText() { |
| 27 } | 27 } |
| 28 | 28 |
| 29 void DummyTextInputClient::InsertText(const base::string16& text) { | 29 void DummyTextInputClient::InsertText(const base::string16& text) { |
| 30 } | 30 } |
| 31 | 31 |
| 32 void DummyTextInputClient::InsertChar(base::char16 ch, int flags) { | 32 void DummyTextInputClient::InsertChar(base::char16 ch, int flags) { |
| 33 } | 33 } |
| 34 | 34 |
| 35 gfx::NativeWindow DummyTextInputClient::GetAttachedWindow() const { | |
| 36 return NULL; | |
| 37 } | |
| 38 | |
| 39 TextInputType DummyTextInputClient::GetTextInputType() const { | 35 TextInputType DummyTextInputClient::GetTextInputType() const { |
| 40 return text_input_type_; | 36 return text_input_type_; |
| 41 } | 37 } |
| 42 | 38 |
| 43 TextInputMode DummyTextInputClient::GetTextInputMode() const { | 39 TextInputMode DummyTextInputClient::GetTextInputMode() const { |
| 44 return TEXT_INPUT_MODE_DEFAULT; | 40 return TEXT_INPUT_MODE_DEFAULT; |
| 45 } | 41 } |
| 46 | 42 |
| 47 int DummyTextInputClient::GetTextInputFlags() const { | 43 int DummyTextInputClient::GetTextInputFlags() const { |
| 48 return 0; | 44 return 0; |
| (...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 107 } | 103 } |
| 108 | 104 |
| 109 bool DummyTextInputClient::IsEditCommandEnabled(int command_id) { | 105 bool DummyTextInputClient::IsEditCommandEnabled(int command_id) { |
| 110 return false; | 106 return false; |
| 111 } | 107 } |
| 112 | 108 |
| 113 void DummyTextInputClient::SetEditCommandForNextKeyEvent(int command_id) { | 109 void DummyTextInputClient::SetEditCommandForNextKeyEvent(int command_id) { |
| 114 } | 110 } |
| 115 | 111 |
| 116 } // namespace ui | 112 } // namespace ui |
| OLD | NEW |