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

Side by Side Diff: ui/views/ime/input_method_gtk.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_delegate.h ('k') | ui/views/ime/input_method_gtk.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_GTK_H_ 5 #ifndef UI_VIEWS_IME_INPUT_METHOD_GTK_H_
6 #define VIEWS_IME_INPUT_METHOD_GTK_H_ 6 #define UI_VIEWS_IME_INPUT_METHOD_GTK_H_
7 #pragma once 7 #pragma once
8 8
9 #include <gtk/gtk.h> 9 #include <gtk/gtk.h>
10 10
11 #include "base/basictypes.h" 11 #include "base/basictypes.h"
12 #include "base/compiler_specific.h" 12 #include "base/compiler_specific.h"
13 #include "ui/base/gtk/gtk_signal.h" 13 #include "ui/base/gtk/gtk_signal.h"
14 #include "ui/base/ime/composition_text.h" 14 #include "ui/base/ime/composition_text.h"
15 #include "ui/base/ime/text_input_client.h" 15 #include "ui/base/ime/text_input_client.h"
16 #include "views/ime/input_method_base.h" 16 #include "ui/views/ime/input_method_base.h"
17 #include "views/view.h" 17 #include "views/view.h"
18 18
19 namespace views { 19 namespace views {
20 20
21 // An InputMethod implementation based on GtkIMContext. Most code are copied 21 // An InputMethod implementation based on GtkIMContext. Most code are copied
22 // from chrome/browser/renderer_host/gtk_im_context_wrapper.* 22 // from chrome/browser/renderer_host/gtk_im_context_wrapper.*
23 // It's intended for testing purpose. 23 // It's intended for testing purpose.
24 class InputMethodGtk : public InputMethodBase { 24 class InputMethodGtk : public InputMethodBase {
25 public: 25 public:
26 explicit InputMethodGtk(internal::InputMethodDelegate* delegate); 26 explicit InputMethodGtk(internal::InputMethodDelegate* delegate);
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
113 113
114 // If it's true then all input method result received before the next key 114 // If it's true then all input method result received before the next key
115 // event will be discarded. 115 // event will be discarded.
116 bool suppress_next_result_; 116 bool suppress_next_result_;
117 117
118 DISALLOW_COPY_AND_ASSIGN(InputMethodGtk); 118 DISALLOW_COPY_AND_ASSIGN(InputMethodGtk);
119 }; 119 };
120 120
121 } // namespace views 121 } // namespace views
122 122
123 #endif // VIEWS_IME_INPUT_METHOD_GTK_H_ 123 #endif // UI_VIEWS_IME_INPUT_METHOD_GTK_H_
OLDNEW
« no previous file with comments | « ui/views/ime/input_method_delegate.h ('k') | ui/views/ime/input_method_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698