| // Copyright 2013 The Chromium Authors. All rights reserved. |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| |
| #include "ui/base/ime/linux/fake_input_method_context_factory.h" |
| |
| #include "base/memory/ptr_util.h" |
| #include "ui/base/ime/linux/fake_input_method_context.h" |
| |
| namespace ui { |
| |
| FakeInputMethodContextFactory::FakeInputMethodContextFactory() {} |
| |
| std::unique_ptr<LinuxInputMethodContext> |
| FakeInputMethodContextFactory::CreateInputMethodContext( |
| LinuxInputMethodContextDelegate* /* delegate */, |
| bool is_simple) const { |
| return base::MakeUnique<FakeInputMethodContext>(); |
| } |
| |
| } // namespace ui |