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

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

Issue 100213003: Support for providing IMEContext with Ozone. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add OS_LINUX checks and build fix for component=shared_library 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
Index: ui/ozone/ime/fake_input_method_context_ozone.cc
diff --git a/ui/ozone/ime/fake_input_method_context_ozone.cc b/ui/ozone/ime/fake_input_method_context_ozone.cc
new file mode 100644
index 0000000000000000000000000000000000000000..1e013a247c2ce22c17765fdb0d0c59a737777a26
--- /dev/null
+++ b/ui/ozone/ime/fake_input_method_context_ozone.cc
@@ -0,0 +1,38 @@
+// Copyright 2013 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "ui/ozone/ime/fake_input_method_context_ozone.h"
+
+namespace ui {
+
+FakeInputMethodContextOzone::FakeInputMethodContextOzone() {
+}
+
+FakeInputMethodContextOzone::~FakeInputMethodContextOzone() {
+}
+
+// Overriden from ui::LinuxInputMethodContext
+
+bool FakeInputMethodContextOzone::DispatchKeyEvent(
+ const ui::KeyEvent& /* key_event */) {
+ return false;
+}
+
+void FakeInputMethodContextOzone::Reset() {
+}
+
+base::i18n::TextDirection FakeInputMethodContextOzone::GetInputTextDirection()
+ const {
+ return base::i18n::UNKNOWN_DIRECTION;
+}
+
+void FakeInputMethodContextOzone::OnTextInputTypeChanged(
+ ui::TextInputType /* text_input_type */) {
+}
+
+void FakeInputMethodContextOzone::OnCaretBoundsChanged(
+ const gfx::Rect& /* caret_bounds */) {
+}
+
+} // namespace ui

Powered by Google App Engine
This is Rietveld 408576698