| 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..60dac30ad5144f26fff039d4ab0a82e923f7e86a
|
| --- /dev/null
|
| +++ b/views/ime/input_method_wayland.h
|
| @@ -0,0 +1,36 @@
|
| +// 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 <string>
|
| +
|
| +#include "views/ime/input_method_base.h"
|
| +
|
| +namespace views {
|
| +
|
| +class InputMethodWayland : public InputMethodBase {
|
| + public:
|
| + explicit 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_
|
|
|