Supervised user whitelists: Cleanup
[chromium-blink-merge.git] / ui / base / ime / linux / fake_input_method_context_factory.h
bloba385f320eb28ce51a79927139493db9515964d9c
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.
5 #ifndef UI_BASE_IME_LINUX_FAKE_INPUT_METHOD_CONTEXT_FACTORY_H_
6 #define UI_BASE_IME_LINUX_FAKE_INPUT_METHOD_CONTEXT_FACTORY_H_
8 #include "ui/base/ime/linux/linux_input_method_context_factory.h"
10 namespace ui {
12 // An implementation of LinuxInputMethodContextFactory, which creates and
13 // returns FakeInputMethodContext's.
14 class FakeInputMethodContextFactory : public LinuxInputMethodContextFactory {
15 public:
16 FakeInputMethodContextFactory();
18 // LinuxInputMethodContextFactory:
19 scoped_ptr<LinuxInputMethodContext> CreateInputMethodContext(
20 LinuxInputMethodContextDelegate* delegate,
21 bool is_simple) const override;
23 private:
24 DISALLOW_COPY_AND_ASSIGN(FakeInputMethodContextFactory);
27 } // namespace ui
29 #endif // UI_BASE_IME_LINUX_FAKE_INPUT_METHOD_CONTEXT_FACTORY_H_