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

Side by Side Diff: ui/base/ime/input_method_factory.cc

Issue 8576005: IME (input method editor) support for Aura, part 3 of 3: Use ui::InputMethod in ash. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: move to ash/ime/ Created 8 years, 12 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
« no previous file with comments | « ui/base/ime/input_method_factory.h ('k') | ui/base/ime/mock_input_method.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #include "ui/base/ime/input_method_factory.h"
6
7 #include "ui/base/ime/input_method_delegate.h"
8
9 #if defined(HAVE_IBUS)
10 #include "ui/base/ime/input_method_ibus.h"
11 #else
12 #include "ui/base/ime/mock_input_method.h"
13 #endif
14
15 namespace ui {
16
17 InputMethod* CreateInputMethod(internal::InputMethodDelegate* delegate) {
18 #if defined(HAVE_IBUS)
19 return new InputMethodIBus(delegate);
20 #else
21 return new MockInputMethod(delegate);
22 #endif
23 }
24
25 } // namespace ui
OLDNEW
« no previous file with comments | « ui/base/ime/input_method_factory.h ('k') | ui/base/ime/mock_input_method.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698