Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(70)

Side by Side Diff: views/ime/input_method_wayland.h

Issue 7464027: Wayland support for views. views_desktop on Wayland. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Updated files to latest and fixed changes for dependent CLs Created 9 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright (c) 2011 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.
4
5 #ifndef VIEWS_IME_INPUT_METHOD_WAYLAND_H_
6 #define VIEWS_IME_INPUT_METHOD_WAYLAND_H_
7 #pragma once
8
9 #include "views/ime/input_method_base.h"
10
11 namespace views {
12
13 class InputMethodWayland : public InputMethodBase {
14 public:
15 InputMethodWayland(internal::InputMethodDelegate *delegate);
16
17 virtual void DispatchKeyEvent(const KeyEvent& key) OVERRIDE;
18 virtual void OnTextInputTypeChanged(View* view) OVERRIDE;
19 virtual void OnCaretBoundsChanged(View* view) OVERRIDE;
20 virtual void CancelComposition(View* view) OVERRIDE;
21 virtual std::string GetInputLocale() OVERRIDE;
22 virtual base::i18n::TextDirection GetInputTextDirection() OVERRIDE;
23 virtual bool IsActive() OVERRIDE;
24
25 private:
26
27 void ProcessKeyPressEvent(const KeyEvent& key);
28
29 DISALLOW_COPY_AND_ASSIGN(InputMethodWayland);
30 };
31
32 } // namespace views
33
34 #endif // VIEWS_IME_INPUT_METHOD_WAYLAND_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698