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

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

Issue 8387005: Fixes to build chrome under chroot. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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 | « no previous file | views/ime/input_method_ibus.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_IBUS_H_ 5 #ifndef VIEWS_IME_INPUT_METHOD_IBUS_H_
6 #define VIEWS_IME_INPUT_METHOD_IBUS_H_ 6 #define VIEWS_IME_INPUT_METHOD_IBUS_H_
7 #pragma once 7 #pragma once
8 8
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
11 11
12 #include "base/basictypes.h" 12 #include "base/basictypes.h"
13 #include "base/compiler_specific.h" 13 #include "base/compiler_specific.h"
14 #include "base/memory/scoped_ptr.h" 14 #include "base/memory/scoped_ptr.h"
15 #include "ui/base/gtk/gtk_integers.h"
15 #include "ui/base/gtk/gtk_signal.h" 16 #include "ui/base/gtk/gtk_signal.h"
16 #include "views/events/event.h" 17 #include "views/events/event.h"
17 #include "views/ime/character_composer.h" 18 #include "views/ime/character_composer.h"
18 #include "views/ime/input_method_base.h" 19 #include "views/ime/input_method_base.h"
19 #include "views/view.h" 20 #include "views/view.h"
20 21
21 // Forward declarations, so that we don't need to include ibus.h in this file. 22 // Forward declarations, so that we don't need to include ibus.h in this file.
23 typedef struct _GAsyncResult GAsyncResult;
22 typedef struct _IBusBus IBusBus; 24 typedef struct _IBusBus IBusBus;
23 typedef struct _IBusInputContext IBusInputContext; 25 typedef struct _IBusInputContext IBusInputContext;
24 typedef struct _IBusText IBusText; 26 typedef struct _IBusText IBusText;
25 27
26 namespace views { 28 namespace views {
27 29
28 // An InputMethod implementation based on IBus. 30 // An InputMethod implementation based on IBus.
29 class InputMethodIBus : public InputMethodBase { 31 class InputMethodIBus : public InputMethodBase {
30 public: 32 public:
31 explicit InputMethodIBus(internal::InputMethodDelegate* delegate); 33 explicit InputMethodIBus(internal::InputMethodDelegate* delegate);
(...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after
198 // An object to compose a character from a sequence of key presses 200 // An object to compose a character from a sequence of key presses
199 // including dead key etc. 201 // including dead key etc.
200 CharacterComposer character_composer_; 202 CharacterComposer character_composer_;
201 203
202 DISALLOW_COPY_AND_ASSIGN(InputMethodIBus); 204 DISALLOW_COPY_AND_ASSIGN(InputMethodIBus);
203 }; 205 };
204 206
205 } // namespace views 207 } // namespace views
206 208
207 #endif // VIEWS_IME_INPUT_METHOD_IBUS_H_ 209 #endif // VIEWS_IME_INPUT_METHOD_IBUS_H_
OLDNEW
« no previous file with comments | « no previous file | views/ime/input_method_ibus.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698