root/ui/base/ime/linux/fake_input_method_context.cc

/* [<][>][^][v][top][bottom][index][help] */

DEFINITIONS

This source file includes following definitions.
  1. DispatchKeyEvent
  2. Reset
  3. OnTextInputTypeChanged
  4. OnCaretBoundsChanged

// 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/base/ime/linux/fake_input_method_context.h"

namespace ui {

FakeInputMethodContext::FakeInputMethodContext() {}

// Overriden from ui::LinuxInputMethodContext

bool FakeInputMethodContext::DispatchKeyEvent(
    const ui::KeyEvent& /* key_event */) {
  return false;
}

void FakeInputMethodContext::Reset() {
}

void FakeInputMethodContext::OnTextInputTypeChanged(
    ui::TextInputType /* text_input_type */) {
}

void FakeInputMethodContext::OnCaretBoundsChanged(
    const gfx::Rect& /* caret_bounds */) {
}

}  // namespace ui

/* [<][>][^][v][top][bottom][index][help] */