OLD | NEW |
(Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #include "ui/ozone/ime/fake_input_method_context_ozone.h" |
| 6 |
| 7 namespace ui { |
| 8 |
| 9 FakeInputMethodContextOzone::FakeInputMethodContextOzone() { |
| 10 } |
| 11 |
| 12 FakeInputMethodContextOzone::~FakeInputMethodContextOzone() { |
| 13 } |
| 14 |
| 15 // Overriden from ui::LinuxInputMethodContext |
| 16 |
| 17 bool FakeInputMethodContextOzone::DispatchKeyEvent( |
| 18 const ui::KeyEvent& /* key_event */) { |
| 19 return false; |
| 20 } |
| 21 |
| 22 void FakeInputMethodContextOzone::Reset() { |
| 23 } |
| 24 |
| 25 base::i18n::TextDirection FakeInputMethodContextOzone::GetInputTextDirection() |
| 26 const { |
| 27 return base::i18n::UNKNOWN_DIRECTION; |
| 28 } |
| 29 |
| 30 void FakeInputMethodContextOzone::OnTextInputTypeChanged( |
| 31 ui::TextInputType /* text_input_type */) { |
| 32 } |
| 33 |
| 34 void FakeInputMethodContextOzone::OnCaretBoundsChanged( |
| 35 const gfx::Rect& /* caret_bounds */) { |
| 36 } |
| 37 |
| 38 } // namespace ui |
OLD | NEW |