Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(636)

Unified Diff: ui/ozone/ime/fake_input_method_context_ozone.h

Issue 100213003: Support for providing IMEContext with Ozone. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased Created 7 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/ozone/ime/DEPS ('k') | ui/ozone/ime/fake_input_method_context_ozone.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_
« no previous file with comments | « ui/ozone/ime/DEPS ('k') | ui/ozone/ime/fake_input_method_context_ozone.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698