Add ICU message format support
[chromium-blink-merge.git] / ui / base / ime / linux / fake_input_method_context.h
blob717a0192f77063e54298f894a0ba295084932f3b
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_H_
6 #define UI_BASE_IME_LINUX_FAKE_INPUT_METHOD_CONTEXT_H_
8 #include "ui/base/ime/linux/linux_input_method_context.h"
10 namespace ui {
12 // A fake implementation of LinuxInputMethodContext, which does nothing.
13 class FakeInputMethodContext : public LinuxInputMethodContext {
14 public:
15 FakeInputMethodContext();
17 // Overriden from ui::LinuxInputMethodContext
18 bool DispatchKeyEvent(const ui::KeyEvent& key_event) override;
19 void Reset() override;
20 void Focus() override;
21 void Blur() override;
22 void SetCursorLocation(const gfx::Rect& rect) override;
24 private:
25 DISALLOW_COPY_AND_ASSIGN(FakeInputMethodContext);
28 } // namespace ui
30 #endif // UI_BASE_IME_LINUX_FAKE_INPUT_METHOD_CONTEXT_H_