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

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

Issue 13925020: keyboard: Add a test suite for the tests, and initialize all the UI things properly. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 7 years, 8 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
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 UI_BASE_IME_INPUT_METHOD_FACTORY_H_ 5 #ifndef UI_BASE_IME_INPUT_METHOD_FACTORY_H_
6 #define UI_BASE_IME_INPUT_METHOD_FACTORY_H_ 6 #define UI_BASE_IME_INPUT_METHOD_FACTORY_H_
7 7
8 #include "ui/base/ui_export.h" 8 #include "ui/base/ui_export.h"
9 #include "ui/gfx/native_widget_types.h" 9 #include "ui/gfx/native_widget_types.h"
10 10
11 namespace ui { 11 namespace ui {
12 12
13 class InputMethod; 13 class InputMethod;
14 14
15 namespace internal { 15 namespace internal {
16 class InputMethodDelegate; 16 class InputMethodDelegate;
17 } // namespace internal 17 } // namespace internal
18 18
19 // Creates and returns an input method implementation for the platform. Caller 19 // Creates and returns an input method implementation for the platform. Caller
20 // must delete the object. The object does not own |delegate|. 20 // must delete the object. The object does not own |delegate|.
21 UI_EXPORT InputMethod* CreateInputMethod( 21 UI_EXPORT InputMethod* CreateInputMethod(
22 internal::InputMethodDelegate* delegate, 22 internal::InputMethodDelegate* delegate,
23 gfx::AcceleratedWidget widget); 23 gfx::AcceleratedWidget widget);
24 24
25 // With calling this function, CreateInputMethod will return MockInputMethod. 25 // With calling this function, CreateInputMethod will return MockInputMethod.
26 UI_EXPORT void SetUpInputMethodFacotryForTesting(); 26 UI_EXPORT void SetUpInputMethodFactoryForTesting();
27 27
28 } // namespace ui; 28 } // namespace ui;
29 29
30 #endif // UI_BASE_IME_INPUT_METHOD_FACTORY_H_ 30 #endif // UI_BASE_IME_INPUT_METHOD_FACTORY_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/input_method/textinput_test_helper.cc ('k') | ui/base/ime/input_method_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698