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