summaryrefslogtreecommitdiffstats
path: root/ui/base/ime/linux/fake_input_method_context_factory.cc
blob: b1c0c3668c6de3a6a209ecf93b43108e6bd6b4ae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// 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 "ui/base/ime/linux/fake_input_method_context.h"

namespace ui {

FakeInputMethodContextFactory::FakeInputMethodContextFactory() {}

scoped_ptr<LinuxInputMethodContext>
FakeInputMethodContextFactory::CreateInputMethodContext(
    LinuxInputMethodContextDelegate* /* delegate */,
    bool is_simple) const {
  return make_scoped_ptr(new FakeInputMethodContext());
}

}  // namespace ui