• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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 
FakeInputMethodContext()9 FakeInputMethodContext::FakeInputMethodContext() {}
10 
11 // Overriden from ui::LinuxInputMethodContext
12 
DispatchKeyEvent(const ui::KeyEvent &)13 bool FakeInputMethodContext::DispatchKeyEvent(
14     const ui::KeyEvent& /* key_event */) {
15   return false;
16 }
17 
Reset()18 void FakeInputMethodContext::Reset() {
19 }
20 
OnTextInputTypeChanged(ui::TextInputType)21 void FakeInputMethodContext::OnTextInputTypeChanged(
22     ui::TextInputType /* text_input_type */) {
23 }
24 
OnCaretBoundsChanged(const gfx::Rect &)25 void FakeInputMethodContext::OnCaretBoundsChanged(
26     const gfx::Rect& /* caret_bounds */) {
27 }
28 
29 }  // namespace ui
30