Landing Recent QUIC changes until 8/19/2015 17:00 UTC.
[chromium-blink-merge.git] / ui / platform_window / platform_ime_controller.h
blobe9543d70a37a0cf0b738464ba132dac909071f2d
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"
10 namespace ui {
12 // Platform input method editor controller.
13 class PlatformImeController {
14 public:
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;
24 } // namespace ui
26 #endif // UI_PLATFORM_WINDOW_PLATFORM_IME_CONTROLLER_H_