| 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 #include "ui/events/event.h" | 6 #include "ui/events/event.h" |
| 7 | 7 |
| 8 namespace ui { | 8 namespace ui { |
| 9 | 9 |
| 10 DummyInputMethod::DummyInputMethod() { | 10 DummyInputMethod::DummyInputMethod() { |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 45 | 45 |
| 46 void DummyInputMethod::OnCaretBoundsChanged(const TextInputClient* client) { | 46 void DummyInputMethod::OnCaretBoundsChanged(const TextInputClient* client) { |
| 47 } | 47 } |
| 48 | 48 |
| 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 bool DummyInputMethod::IsInputLocaleCJK() const { |
| 56 return std::string(); | 56 return false; |
| 57 } | 57 } |
| 58 | 58 |
| 59 TextInputType DummyInputMethod::GetTextInputType() const { | 59 TextInputType DummyInputMethod::GetTextInputType() const { |
| 60 return TEXT_INPUT_TYPE_NONE; | 60 return TEXT_INPUT_TYPE_NONE; |
| 61 } | 61 } |
| 62 | 62 |
| 63 TextInputMode DummyInputMethod::GetTextInputMode() const { | 63 TextInputMode DummyInputMethod::GetTextInputMode() const { |
| 64 return TEXT_INPUT_MODE_DEFAULT; | 64 return TEXT_INPUT_MODE_DEFAULT; |
| 65 } | 65 } |
| 66 | 66 |
| (...skipping 17 matching lines...) Expand all Loading... |
| 84 | 84 |
| 85 void DummyInputMethod::RemoveObserver(InputMethodObserver* observer) { | 85 void DummyInputMethod::RemoveObserver(InputMethodObserver* observer) { |
| 86 } | 86 } |
| 87 | 87 |
| 88 const std::vector<std::unique_ptr<KeyEvent>>& | 88 const std::vector<std::unique_ptr<KeyEvent>>& |
| 89 DummyInputMethod::GetKeyEventsForTesting() { | 89 DummyInputMethod::GetKeyEventsForTesting() { |
| 90 return key_events_for_testing_; | 90 return key_events_for_testing_; |
| 91 } | 91 } |
| 92 | 92 |
| 93 } // namespace ui | 93 } // namespace ui |
| OLD | NEW |