| 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 | 7 |
| 7 namespace ui { | 8 namespace ui { |
| 8 | 9 |
| 9 DummyInputMethod::DummyInputMethod() { | 10 DummyInputMethod::DummyInputMethod() { |
| 10 } | 11 } |
| 11 | 12 |
| 12 DummyInputMethod::~DummyInputMethod() { | 13 DummyInputMethod::~DummyInputMethod() { |
| 13 } | 14 } |
| 14 | 15 |
| 15 void DummyInputMethod::SetDelegate(internal::InputMethodDelegate* delegate) { | 16 void DummyInputMethod::SetDelegate(internal::InputMethodDelegate* delegate) { |
| (...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 77 | 78 |
| 78 void DummyInputMethod::ShowImeIfNeeded() { | 79 void DummyInputMethod::ShowImeIfNeeded() { |
| 79 } | 80 } |
| 80 | 81 |
| 81 void DummyInputMethod::AddObserver(InputMethodObserver* observer) { | 82 void DummyInputMethod::AddObserver(InputMethodObserver* observer) { |
| 82 } | 83 } |
| 83 | 84 |
| 84 void DummyInputMethod::RemoveObserver(InputMethodObserver* observer) { | 85 void DummyInputMethod::RemoveObserver(InputMethodObserver* observer) { |
| 85 } | 86 } |
| 86 | 87 |
| 88 const std::vector<std::unique_ptr<KeyEvent>>& |
| 89 DummyInputMethod::GetKeyEventsForTesting() { |
| 90 return key_events_for_testing_; |
| 91 } |
| 92 |
| 87 } // namespace ui | 93 } // namespace ui |
| OLD | NEW |