| Index: mandoline/ui/aura/input_method_mandoline.h
|
| diff --git a/mandoline/ui/aura/input_method_mandoline.h b/mandoline/ui/aura/input_method_mandoline.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..354eaa074607996580970a0e620386049255faef
|
| --- /dev/null
|
| +++ b/mandoline/ui/aura/input_method_mandoline.h
|
| @@ -0,0 +1,34 @@
|
| +// Copyright (c) 2015 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 "ui/base/ime/input_method_base.h"
|
| +
|
| +#ifndef MANDOLINE_UI_AURA_INPUT_METHOD_MANDOLINE_H_
|
| +#define MANDOLINE_UI_AURA_INPUT_METHOD_MANDOLINE_H_
|
| +
|
| +namespace mandoline {
|
| +
|
| +class InputMethodMandoline : public ui::InputMethodBase {
|
| + public:
|
| + explicit InputMethodMandoline(ui::internal::InputMethodDelegate* delegate);
|
| + ~InputMethodMandoline() override;
|
| +
|
| + private:
|
| + // Overridden from ui::InputMethod:
|
| + virtual bool OnUntranslatedIMEMessage(const base::NativeEvent& event,
|
| + NativeEventResult* result) override;
|
| + virtual bool DispatchKeyEvent(const ui::KeyEvent& event) override;
|
| + virtual void OnCaretBoundsChanged(const ui::TextInputClient* client) override;
|
| + virtual void CancelComposition(const ui::TextInputClient* client) override;
|
| + virtual void OnInputLocaleChanged() override;
|
| + virtual std::string GetInputLocale() override;
|
| + virtual bool IsActive() override;
|
| + virtual bool IsCandidatePopupOpen() const override;
|
| +
|
| + DISALLOW_COPY_AND_ASSIGN(InputMethodMandoline);
|
| +};
|
| +
|
| +} // namespace mandoline
|
| +
|
| +#endif // MANDOLINE_UI_AURA_INPUT_METHOD_MANDOLINE_H_
|
|
|