| Index: ui/ozone/ime/fake_input_method_context_ozone.h
|
| diff --git a/ui/base/ime/linux/fake_input_method_context.h b/ui/ozone/ime/fake_input_method_context_ozone.h
|
| similarity index 66%
|
| copy from ui/base/ime/linux/fake_input_method_context.h
|
| copy to ui/ozone/ime/fake_input_method_context_ozone.h
|
| index 9d9681a1e7bd4953510b4d75f213c47da89a296d..1326375a673c87b7984212377ba291c5ee71d093 100644
|
| --- a/ui/base/ime/linux/fake_input_method_context.h
|
| +++ b/ui/ozone/ime/fake_input_method_context_ozone.h
|
| @@ -2,17 +2,19 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -#ifndef UI_BASE_IME_LINUX_FAKE_INPUT_METHOD_CONTEXT_H_
|
| -#define UI_BASE_IME_LINUX_FAKE_INPUT_METHOD_CONTEXT_H_
|
| +#ifndef UI_OZONE_IME_FAKE_INPUT_METHOD_CONTEXT_OZONE_H_
|
| +#define UI_OZONE_IME_FAKE_INPUT_METHOD_CONTEXT_OZONE_H_
|
|
|
| #include "ui/base/ime/linux/linux_input_method_context.h"
|
|
|
| namespace ui {
|
|
|
| // A fake implementation of LinuxInputMethodContext, which does nothing.
|
| -class FakeInputMethodContext : public LinuxInputMethodContext {
|
| +class FakeInputMethodContextOzone :
|
| + public LinuxInputMethodContext {
|
| public:
|
| - FakeInputMethodContext();
|
| + FakeInputMethodContextOzone();
|
| + virtual ~FakeInputMethodContextOzone();
|
|
|
| // Overriden from ui::LinuxInputMethodContext
|
| virtual bool DispatchKeyEvent(const ui::KeyEvent& key_event) OVERRIDE;
|
| @@ -23,9 +25,9 @@ class FakeInputMethodContext : public LinuxInputMethodContext {
|
| virtual void OnCaretBoundsChanged(const gfx::Rect& caret_bounds) OVERRIDE;
|
|
|
| private:
|
| - DISALLOW_COPY_AND_ASSIGN(FakeInputMethodContext);
|
| + DISALLOW_COPY_AND_ASSIGN(FakeInputMethodContextOzone);
|
| };
|
|
|
| } // namespace ui
|
|
|
| -#endif // UI_BASE_IME_LINUX_FAKE_INPUT_METHOD_CONTEXT_H_
|
| +#endif // UI_OZONE_IME_FAKE_INPUT_METHOD_CONTEXT_OZONE_H_
|
|
|