1 // Copyright (c) 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 #include "ui/base/ime/input_method_base.h"
7 #ifndef MANDOLINE_UI_AURA_INPUT_METHOD_MANDOLINE_H_
8 #define MANDOLINE_UI_AURA_INPUT_METHOD_MANDOLINE_H_
12 class InputMethodMandoline
: public ui::InputMethodBase
{
14 explicit InputMethodMandoline(ui::internal::InputMethodDelegate
* delegate
);
15 ~InputMethodMandoline() override
;
18 // Overridden from ui::InputMethod:
19 bool OnUntranslatedIMEMessage(const base::NativeEvent
& event
,
20 NativeEventResult
* result
) override
;
21 bool DispatchKeyEvent(const ui::KeyEvent
& event
) override
;
22 void OnCaretBoundsChanged(const ui::TextInputClient
* client
) override
;
23 void CancelComposition(const ui::TextInputClient
* client
) override
;
24 void OnInputLocaleChanged() override
;
25 std::string
GetInputLocale() override
;
26 bool IsCandidatePopupOpen() const override
;
28 DISALLOW_COPY_AND_ASSIGN(InputMethodMandoline
);
31 } // namespace mandoline
33 #endif // MANDOLINE_UI_AURA_INPUT_METHOD_MANDOLINE_H_