| 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/linux/fake_input_method_context.h" | 5 #include "ui/base/ime/linux/fake_input_method_context.h" |
| 6 | 6 |
| 7 namespace ui { | 7 namespace ui { |
| 8 | 8 |
| 9 FakeInputMethodContext::FakeInputMethodContext() {} | 9 FakeInputMethodContext::FakeInputMethodContext() {} |
| 10 | 10 |
| 11 // Overriden from ui::LinuxInputMethodContext | 11 // Overriden from ui::LinuxInputMethodContext |
| 12 | 12 |
| 13 bool FakeInputMethodContext::DispatchKeyEvent( | 13 bool FakeInputMethodContext::DispatchKeyEvent( |
| 14 const ui::KeyEvent& /* key_event */) { | 14 const ui::KeyEvent& /* key_event */) { |
| 15 return false; | 15 return false; |
| 16 } | 16 } |
| 17 | 17 |
| 18 void FakeInputMethodContext::Reset() { | 18 void FakeInputMethodContext::Reset() { |
| 19 } | 19 } |
| 20 | 20 |
| 21 void FakeInputMethodContext::OnTextInputTypeChanged( | 21 void FakeInputMethodContext::Focus() { |
| 22 ui::TextInputType /* text_input_type */) { | |
| 23 } | 22 } |
| 24 | 23 |
| 25 void FakeInputMethodContext::OnCaretBoundsChanged( | 24 void FakeInputMethodContext::Blur() { |
| 26 const gfx::Rect& /* caret_bounds */) { | 25 } |
| 26 |
| 27 void FakeInputMethodContext::SetCursorLocation(const gfx::Rect& rect) { |
| 27 } | 28 } |
| 28 | 29 |
| 29 } // namespace ui | 30 } // namespace ui |
| OLD | NEW |