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

Side by Side Diff: ui/ozone/ime/input_method_context_factory_ozone.h

Issue 100213003: Support for providing IMEContext with Ozone. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: mv InputMethodContextFactoryOzone to ozone/ime Created 7 years 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
OLDNEW
(Empty)
1 // Copyright 2013 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 #ifndef UI_OZONE_IME_INPUT_METHOD_CONTEXT_FACTORY_OZONE_H_
6 #define UI_OZONE_IME_INPUT_METHOD_CONTEXT_FACTORY_OZONE_H_
7
8 #include "ui/base/ime/linux/linux_input_method_context_factory.h"
9
10 namespace ui {
11
12 class LinuxInputMethodContext;
13 class LinuxInputMethodContextDelegate;
Yuki 2013/12/11 09:31:14 You don't need these two forward declarations. It
14
15 // An interface that lets different Ozone platforms override the
16 // CreateInputMethodContext function declared here to return native input method
17 // contexts.
18 class UI_EXPORT InputMethodContextFactoryOzone :
19 public LinuxInputMethodContextFactory {
20 public:
21 InputMethodContextFactoryOzone();
22 virtual ~InputMethodContextFactoryOzone();
23
24 // By default this returns a minimal input method context.
25 virtual scoped_ptr<LinuxInputMethodContext> CreateInputMethodContext(
26 LinuxInputMethodContextDelegate* delegate) const OVERRIDE;
27 };
28
29 } // namespace ui
30
31 #endif // UI_OZONE_IME_INPUT_METHOD_CONTEXT_FACTORY_OZONE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698