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_input_method.h" | 5 #include "ui/base/ime/dummy_input_method.h" |
6 | 6 |
7 namespace ui { | 7 namespace ui { |
8 | 8 |
9 DummyInputMethod::DummyInputMethod() { | 9 DummyInputMethod::DummyInputMethod() { |
10 } | 10 } |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
65 } | 65 } |
66 | 66 |
67 bool DummyInputMethod::IsActive() { | 67 bool DummyInputMethod::IsActive() { |
68 return true; | 68 return true; |
69 } | 69 } |
70 | 70 |
71 TextInputType DummyInputMethod::GetTextInputType() const { | 71 TextInputType DummyInputMethod::GetTextInputType() const { |
72 return TEXT_INPUT_TYPE_NONE; | 72 return TEXT_INPUT_TYPE_NONE; |
73 } | 73 } |
74 | 74 |
| 75 TextInputMode DummyInputMethod::GetTextInputMode() const { |
| 76 return TEXT_INPUT_MODE_DEFAULT; |
| 77 } |
| 78 |
75 bool DummyInputMethod::CanComposeInline() const { | 79 bool DummyInputMethod::CanComposeInline() const { |
76 return true; | 80 return true; |
77 } | 81 } |
78 | 82 |
79 bool DummyInputMethod::IsCandidatePopupOpen() const { | 83 bool DummyInputMethod::IsCandidatePopupOpen() const { |
80 return false; | 84 return false; |
81 } | 85 } |
82 | 86 |
83 void DummyInputMethod::AddObserver(InputMethodObserver* observer) { | 87 void DummyInputMethod::AddObserver(InputMethodObserver* observer) { |
84 } | 88 } |
85 | 89 |
86 void DummyInputMethod::RemoveObserver(InputMethodObserver* observer) { | 90 void DummyInputMethod::RemoveObserver(InputMethodObserver* observer) { |
87 } | 91 } |
88 | 92 |
89 } // namespace ui | 93 } // namespace ui |
90 | 94 |
OLD | NEW |