- add sources.
[platform/framework/web/crosswalk.git] / src / ui / base / ime / linux / fake_input_method_context.cc
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/base/ime/linux/fake_input_method_context.h"
6
7 namespace ui {
8
9 FakeInputMethodContext::FakeInputMethodContext() {}
10
11 // Overriden from ui::LinuxInputMethodContext
12
13 bool FakeInputMethodContext::DispatchKeyEvent(
14     const base::NativeEvent& /* native_key_event */) {
15   return false;
16 }
17
18 void FakeInputMethodContext::Reset() {
19 }
20
21 base::i18n::TextDirection FakeInputMethodContext::GetInputTextDirection()
22     const {
23   return base::i18n::UNKNOWN_DIRECTION;
24 }
25
26 void FakeInputMethodContext::OnTextInputTypeChanged(
27     ui::TextInputType /* text_input_type */) {
28 }
29
30 void FakeInputMethodContext::OnCaretBoundsChanged(
31     const gfx::Rect& /* caret_bounds */) {
32 }
33
34 }  // namespace ui