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

// Copyright 2013 The Chromium Authors
// 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() = default;

// Overriden from ui::LinuxInputMethodContext

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

bool FakeInputMethodContext::IsPeekKeyEvent(const ui::KeyEvent& key_event) {}

void FakeInputMethodContext::Reset() {}

void FakeInputMethodContext::UpdateFocus(
    bool has_client,
    TextInputType old_type,
    const TextInputClientAttributes& new_client_attributes,
    TextInputClient::FocusReason reason) {}

void FakeInputMethodContext::SetCursorLocation(const gfx::Rect& rect) {}

void FakeInputMethodContext::SetSurroundingText(
    const std::u16string& text,
    const gfx::Range& text_range,
    const gfx::Range& composition_range,
    const gfx::Range& selection_range,
    const std::optional<GrammarFragment>& fragment,
    const std::optional<AutocorrectInfo>& autocorrect) {}

VirtualKeyboardController*
FakeInputMethodContext::GetVirtualKeyboardController() {}

}  // namespace ui