blob: 434dcf67041bd3ef124e34804f057b9afc9e75b0 [file] [log] [blame]
// 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() {
}
base::i18n::TextDirection FakeInputMethodContext::GetInputTextDirection()
const {
return base::i18n::UNKNOWN_DIRECTION;
}
void FakeInputMethodContext::OnTextInputTypeChanged(
ui::TextInputType /* text_input_type */) {
}
void FakeInputMethodContext::OnCaretBoundsChanged(
const gfx::Rect& /* caret_bounds */) {
}
} // namespace ui