OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 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 | 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 #include "ui/base/ime/linux/fake_input_method_context_factory.h" | 5 #include "ui/ozone/ime/input_method_context_factory_ozone.h" |
6 | 6 |
7 #include "ui/base/ime/linux/fake_input_method_context.h" | 7 #include "ui/base/ime/linux/fake_input_method_context.h" |
8 | 8 |
9 namespace ui { | 9 namespace ui { |
10 | 10 |
11 FakeInputMethodContextFactory::FakeInputMethodContextFactory() {} | 11 InputMethodContextFactoryOzone::InputMethodContextFactoryOzone() { |
| 12 } |
12 | 13 |
13 // Overriden from ui::LinuxInputMethodContextFactory | 14 InputMethodContextFactoryOzone::~InputMethodContextFactoryOzone() { |
| 15 } |
14 | 16 |
15 scoped_ptr<LinuxInputMethodContext> | 17 scoped_ptr<LinuxInputMethodContext> |
16 FakeInputMethodContextFactory::CreateInputMethodContext( | 18 InputMethodContextFactoryOzone::CreateInputMethodContext( |
17 LinuxInputMethodContextDelegate* /* delegate */) const { | 19 LinuxInputMethodContextDelegate* delegate) const { |
18 return scoped_ptr<LinuxInputMethodContext>(new FakeInputMethodContext()); | 20 return scoped_ptr<LinuxInputMethodContext>(new FakeInputMethodContext()); |
19 } | 21 } |
20 | 22 |
21 } // namespace ui | 23 } // namespace ui |
OLD | NEW |