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 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
49 void DummyInputMethod::CancelComposition(const TextInputClient* client) { | 49 void DummyInputMethod::CancelComposition(const TextInputClient* client) { |
50 } | 50 } |
51 | 51 |
52 void DummyInputMethod::OnInputLocaleChanged() { | 52 void DummyInputMethod::OnInputLocaleChanged() { |
53 } | 53 } |
54 | 54 |
55 std::string DummyInputMethod::GetInputLocale() { | 55 std::string DummyInputMethod::GetInputLocale() { |
56 return std::string(); | 56 return std::string(); |
57 } | 57 } |
58 | 58 |
59 bool DummyInputMethod::IsActive() { | |
60 return true; | |
61 } | |
62 | |
63 TextInputType DummyInputMethod::GetTextInputType() const { | 59 TextInputType DummyInputMethod::GetTextInputType() const { |
64 return TEXT_INPUT_TYPE_NONE; | 60 return TEXT_INPUT_TYPE_NONE; |
65 } | 61 } |
66 | 62 |
67 TextInputMode DummyInputMethod::GetTextInputMode() const { | 63 TextInputMode DummyInputMethod::GetTextInputMode() const { |
68 return TEXT_INPUT_MODE_DEFAULT; | 64 return TEXT_INPUT_MODE_DEFAULT; |
69 } | 65 } |
70 | 66 |
71 int DummyInputMethod::GetTextInputFlags() const { | 67 int DummyInputMethod::GetTextInputFlags() const { |
72 return 0; | 68 return 0; |
(...skipping 10 matching lines...) Expand all Loading... |
83 void DummyInputMethod::ShowImeIfNeeded() { | 79 void DummyInputMethod::ShowImeIfNeeded() { |
84 } | 80 } |
85 | 81 |
86 void DummyInputMethod::AddObserver(InputMethodObserver* observer) { | 82 void DummyInputMethod::AddObserver(InputMethodObserver* observer) { |
87 } | 83 } |
88 | 84 |
89 void DummyInputMethod::RemoveObserver(InputMethodObserver* observer) { | 85 void DummyInputMethod::RemoveObserver(InputMethodObserver* observer) { |
90 } | 86 } |
91 | 87 |
92 } // namespace ui | 88 } // namespace ui |
OLD | NEW |