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 64% |
copy from ui/base/ime/linux/fake_input_method_context.h |
copy to ui/ozone/ime/fake_input_method_context_ozone.h |
index 9d9681a1e7bd4953510b4d75f213c47da89a296d..b8098cfc7ace830bbed783a958828c49b55fa0a9 100644 |
--- a/ui/base/ime/linux/fake_input_method_context.h |
+++ b/ui/ozone/ime/fake_input_method_context_ozone.h |
@@ -2,17 +2,20 @@ |
// 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" |
+#include "ui/ozone/ozone_export.h" |
rjkroege
2013/12/12 23:43:38
Does this really need to be exported? Why?
kalyank
2013/12/13 10:35:27
Not needed, removed.
|
namespace ui { |
// A fake implementation of LinuxInputMethodContext, which does nothing. |
-class FakeInputMethodContext : public LinuxInputMethodContext { |
+class OZONE_EXPORT FakeInputMethodContextOzone : |
+ public LinuxInputMethodContext { |
public: |
- FakeInputMethodContext(); |
+ FakeInputMethodContextOzone(); |
+ virtual ~FakeInputMethodContextOzone(); |
// Overriden from ui::LinuxInputMethodContext |
virtual bool DispatchKeyEvent(const ui::KeyEvent& key_event) OVERRIDE; |
@@ -23,9 +26,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_ |