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

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

Issue 8509034: Move views/ime/text_input_client.h to ui/base/ime/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: more win_shared fix 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 | « views/ime/input_method_base.cc ('k') | 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 VIEWS_IME_INPUT_METHOD_GTK_H_
6 #define VIEWS_IME_INPUT_METHOD_GTK_H_ 6 #define 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"
15 #include "ui/base/ime/text_input_client.h"
14 #include "views/ime/input_method_base.h" 16 #include "views/ime/input_method_base.h"
15 #include "views/view.h" 17 #include "views/view.h"
16 18
17 namespace views { 19 namespace views {
18 20
19 // An InputMethod implementation based on GtkIMContext. Most code are copied 21 // An InputMethod implementation based on GtkIMContext. Most code are copied
20 // from chrome/browser/renderer_host/gtk_im_context_wrapper.* 22 // from chrome/browser/renderer_host/gtk_im_context_wrapper.*
21 // It's intended for testing purpose. 23 // It's intended for testing purpose.
22 class InputMethodGtk : public InputMethodBase { 24 class InputMethodGtk : public InputMethodBase {
23 public: 25 public:
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 // 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
113 // event will be discarded. 115 // event will be discarded.
114 bool suppress_next_result_; 116 bool suppress_next_result_;
115 117
116 DISALLOW_COPY_AND_ASSIGN(InputMethodGtk); 118 DISALLOW_COPY_AND_ASSIGN(InputMethodGtk);
117 }; 119 };
118 120
119 } // namespace views 121 } // namespace views
120 122
121 #endif // VIEWS_IME_INPUT_METHOD_GTK_H_ 123 #endif // VIEWS_IME_INPUT_METHOD_GTK_H_
OLDNEW
« no previous file with comments | « views/ime/input_method_base.cc ('k') | views/ime/input_method_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698