Chromium Code Reviews| Index: ui/ozone/ime/fake_input_method_context_ozone.cc |
| diff --git a/ui/ozone/ime/fake_input_method_context_ozone.cc b/ui/ozone/ime/fake_input_method_context_ozone.cc |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..1e013a247c2ce22c17765fdb0d0c59a737777a26 |
| --- /dev/null |
| +++ b/ui/ozone/ime/fake_input_method_context_ozone.cc |
| @@ -0,0 +1,38 @@ |
| +// Copyright 2013 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#include "ui/ozone/ime/fake_input_method_context_ozone.h" |
| + |
| +namespace ui { |
| + |
| +FakeInputMethodContextOzone::FakeInputMethodContextOzone() { |
| +} |
| + |
| +FakeInputMethodContextOzone::~FakeInputMethodContextOzone() { |
| +} |
| + |
| +// Overriden from ui::LinuxInputMethodContext |
|
rjkroege
2013/12/12 23:43:38
nit: this comment is unnecessary.
kalyank
2013/12/13 10:35:27
Done.
|
| + |
| +bool FakeInputMethodContextOzone::DispatchKeyEvent( |
| + const ui::KeyEvent& /* key_event */) { |
| + return false; |
| +} |
| + |
| +void FakeInputMethodContextOzone::Reset() { |
| +} |
| + |
| +base::i18n::TextDirection FakeInputMethodContextOzone::GetInputTextDirection() |
| + const { |
| + return base::i18n::UNKNOWN_DIRECTION; |
| +} |
| + |
| +void FakeInputMethodContextOzone::OnTextInputTypeChanged( |
| + ui::TextInputType /* text_input_type */) { |
| +} |
| + |
| +void FakeInputMethodContextOzone::OnCaretBoundsChanged( |
| + const gfx::Rect& /* caret_bounds */) { |
| +} |
| + |
| +} // namespace ui |