blob: 74dd8e9918754dbf0d6f6c9be4525a816f48a750 [file] [log] [blame]
// Copyright 2018 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 "base/observer_list_types.h"
#include "ui/base/ime/ui_base_ime_export.h"
namespace ui {
// A interface to observe changes in the IMEBridge.
class UI_BASE_IME_EXPORT IMEBridgeObserver : public base::CheckedObserver {
// Called when requesting to switch the engine handler from ui::InputMethod.
virtual void OnRequestSwitchEngine() = 0;
// Called when the input context handler has changed, a signal of IME change.
virtual void OnInputContextHandlerChanged() = 0;
} // namespace ui