1 // Copyright 2015 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.
5 #ifndef UI_PLATFORM_WINDOW_PLATFORM_IME_CONTROLLER_H_
6 #define UI_PLATFORM_WINDOW_PLATFORM_IME_CONTROLLER_H_
8 #include "ui/platform_window/text_input_state.h"
12 // Platform input method editor controller.
13 class PlatformImeController
{
15 virtual ~PlatformImeController() {}
17 // Update the text input state.
18 virtual void UpdateTextInputState(const TextInputState
& state
) = 0;
20 // Set visibility of input method editor UI (software keyboard, etc).
21 virtual void SetImeVisibility(bool visible
) = 0;
26 #endif // UI_PLATFORM_WINDOW_PLATFORM_IME_CONTROLLER_H_