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/rect.h" | 6 #include "ui/gfx/rect.h" |
7 | 7 |
8 namespace ui { | 8 namespace ui { |
9 | 9 |
10 DummyTextInputClient::DummyTextInputClient() { | 10 DummyTextInputClient::DummyTextInputClient() { |
(...skipping 11 matching lines...) Expand all Loading... |
22 | 22 |
23 void DummyTextInputClient::ClearCompositionText() { | 23 void DummyTextInputClient::ClearCompositionText() { |
24 } | 24 } |
25 | 25 |
26 void DummyTextInputClient::InsertText(const base::string16& text) { | 26 void DummyTextInputClient::InsertText(const base::string16& text) { |
27 } | 27 } |
28 | 28 |
29 void DummyTextInputClient::InsertChar(base::char16 ch, int flags) { | 29 void DummyTextInputClient::InsertChar(base::char16 ch, int flags) { |
30 } | 30 } |
31 | 31 |
32 gfx::NativeWindow DummyTextInputClient::GetAttachedWindow() const { | |
33 return NULL; | |
34 } | |
35 | |
36 ui::TextInputType DummyTextInputClient::GetTextInputType() const { | 32 ui::TextInputType DummyTextInputClient::GetTextInputType() const { |
37 return TEXT_INPUT_TYPE_NONE; | 33 return TEXT_INPUT_TYPE_NONE; |
38 } | 34 } |
39 | 35 |
40 ui::TextInputMode DummyTextInputClient::GetTextInputMode() const { | 36 ui::TextInputMode DummyTextInputClient::GetTextInputMode() const { |
41 return TEXT_INPUT_MODE_DEFAULT; | 37 return TEXT_INPUT_MODE_DEFAULT; |
42 } | 38 } |
43 | 39 |
44 bool DummyTextInputClient::CanComposeInline() const { | 40 bool DummyTextInputClient::CanComposeInline() const { |
45 return false; | 41 return false; |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
102 void DummyTextInputClient::OnCandidateWindowShown() { | 98 void DummyTextInputClient::OnCandidateWindowShown() { |
103 } | 99 } |
104 | 100 |
105 void DummyTextInputClient::OnCandidateWindowUpdated() { | 101 void DummyTextInputClient::OnCandidateWindowUpdated() { |
106 } | 102 } |
107 | 103 |
108 void DummyTextInputClient::OnCandidateWindowHidden() { | 104 void DummyTextInputClient::OnCandidateWindowHidden() { |
109 } | 105 } |
110 | 106 |
111 } // namespace ui | 107 } // namespace ui |
OLD | NEW |