| 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_delegate.h" | 5 #include "ui/base/ime/dummy_input_method_delegate.h" |
| 6 #include "ui/events/event.h" |
| 6 | 7 |
| 7 namespace ui { | 8 namespace ui { |
| 8 namespace internal { | 9 namespace internal { |
| 9 | 10 |
| 10 DummyInputMethodDelegate::DummyInputMethodDelegate() {} | 11 DummyInputMethodDelegate::DummyInputMethodDelegate() {} |
| 11 DummyInputMethodDelegate::~DummyInputMethodDelegate() {} | 12 DummyInputMethodDelegate::~DummyInputMethodDelegate() {} |
| 12 | 13 |
| 13 bool DummyInputMethodDelegate::DispatchKeyEventPostIME( | 14 bool DummyInputMethodDelegate::DispatchKeyEventPostIME( |
| 14 const base::NativeEvent& native_key_event) { | 15 const ui::KeyEvent& key_event) { |
| 15 return true; | 16 return true; |
| 16 } | 17 } |
| 17 | 18 |
| 18 bool DummyInputMethodDelegate::DispatchFabricatedKeyEventPostIME( | 19 bool DummyInputMethodDelegate::DispatchFabricatedKeyEventPostIME( |
| 19 ui::EventType type, | 20 ui::EventType type, |
| 20 ui::KeyboardCode key_code, | 21 ui::KeyboardCode key_code, |
| 21 int flags) { | 22 int flags) { |
| 22 return true; | 23 return true; |
| 23 } | 24 } |
| 24 | 25 |
| 25 } // namespace internal | 26 } // namespace internal |
| 26 } // namespace ui | 27 } // namespace ui |
| OLD | NEW |