| Index: views/ime/input_method_wayland.h
|
| diff --git a/views/ime/input_method_wayland.h b/views/ime/input_method_wayland.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..302e8ce66ea2a6be2702781550b87af099422da3
|
| --- /dev/null
|
| +++ b/views/ime/input_method_wayland.h
|
| @@ -0,0 +1,34 @@
|
| +// Copyright (c) 2011 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.
|
| +
|
| +#ifndef VIEWS_IME_INPUT_METHOD_WAYLAND_H_
|
| +#define VIEWS_IME_INPUT_METHOD_WAYLAND_H_
|
| +#pragma once
|
| +
|
| +#include "views/ime/input_method_base.h"
|
| +
|
| +namespace views {
|
| +
|
| +class InputMethodWayland : public InputMethodBase {
|
| + public:
|
| + InputMethodWayland(internal::InputMethodDelegate *delegate);
|
| +
|
| + virtual void DispatchKeyEvent(const KeyEvent& key) OVERRIDE;
|
| + virtual void OnTextInputTypeChanged(View* view) OVERRIDE;
|
| + virtual void OnCaretBoundsChanged(View* view) OVERRIDE;
|
| + virtual void CancelComposition(View* view) OVERRIDE;
|
| + virtual std::string GetInputLocale() OVERRIDE;
|
| + virtual base::i18n::TextDirection GetInputTextDirection() OVERRIDE;
|
| + virtual bool IsActive() OVERRIDE;
|
| +
|
| + private:
|
| +
|
| + void ProcessKeyPressEvent(const KeyEvent& key);
|
| +
|
| + DISALLOW_COPY_AND_ASSIGN(InputMethodWayland);
|
| +};
|
| +
|
| +} // namespace views
|
| +
|
| +#endif // VIEWS_IME_INPUT_METHOD_WAYLAND_H_
|
|
|