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

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

Issue 8581003: views: Move ime and test directories to ui/views. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix linux Created 9 years, 1 month 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
« no previous file with comments | « ui/views/ime/input_method_ibus.cc ('k') | ui/views/ime/input_method_wayland.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef VIEWS_IME_INPUT_METHOD_WAYLAND_H_ 5 #ifndef UI_VIEWS_IME_INPUT_METHOD_WAYLAND_H_
6 #define VIEWS_IME_INPUT_METHOD_WAYLAND_H_ 6 #define UI_VIEWS_IME_INPUT_METHOD_WAYLAND_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
11 #include "views/ime/input_method_base.h" 11 #include "ui/views/ime/input_method_base.h"
12 12
13 namespace views { 13 namespace views {
14 14
15 class InputMethodWayland : public InputMethodBase { 15 class InputMethodWayland : public InputMethodBase {
16 public: 16 public:
17 explicit InputMethodWayland(internal::InputMethodDelegate *delegate); 17 explicit InputMethodWayland(internal::InputMethodDelegate *delegate);
18 18
19 virtual void DispatchKeyEvent(const KeyEvent& key) OVERRIDE; 19 virtual void DispatchKeyEvent(const KeyEvent& key) OVERRIDE;
20 virtual void OnTextInputTypeChanged(View* view) OVERRIDE; 20 virtual void OnTextInputTypeChanged(View* view) OVERRIDE;
21 virtual void OnCaretBoundsChanged(View* view) OVERRIDE; 21 virtual void OnCaretBoundsChanged(View* view) OVERRIDE;
22 virtual void CancelComposition(View* view) OVERRIDE; 22 virtual void CancelComposition(View* view) OVERRIDE;
23 virtual std::string GetInputLocale() OVERRIDE; 23 virtual std::string GetInputLocale() OVERRIDE;
24 virtual base::i18n::TextDirection GetInputTextDirection() OVERRIDE; 24 virtual base::i18n::TextDirection GetInputTextDirection() OVERRIDE;
25 virtual bool IsActive() OVERRIDE; 25 virtual bool IsActive() OVERRIDE;
26 26
27 private: 27 private:
28 28
29 void ProcessKeyPressEvent(const KeyEvent& key); 29 void ProcessKeyPressEvent(const KeyEvent& key);
30 30
31 DISALLOW_COPY_AND_ASSIGN(InputMethodWayland); 31 DISALLOW_COPY_AND_ASSIGN(InputMethodWayland);
32 }; 32 };
33 33
34 } // namespace views 34 } // namespace views
35 35
36 #endif // VIEWS_IME_INPUT_METHOD_WAYLAND_H_ 36 #endif // UI_VIEWS_IME_INPUT_METHOD_WAYLAND_H_
OLDNEW
« no previous file with comments | « ui/views/ime/input_method_ibus.cc ('k') | ui/views/ime/input_method_wayland.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698