OLD | NEW |
---|---|
(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_ | |
OLD | NEW |