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

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

Issue 100213003: Support for providing IMEContext with Ozone. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: mv InputMethodContextFactoryOzone to ozone/ime 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/input_method_context_factory_ozone.cc
diff --git a/ui/base/ime/linux/fake_input_method_context_factory.cc b/ui/ozone/ime/input_method_context_factory_ozone.cc
similarity index 54%
copy from ui/base/ime/linux/fake_input_method_context_factory.cc
copy to ui/ozone/ime/input_method_context_factory_ozone.cc
index ba9edf6e09ec17f6afff996273b49d8a280616d1..6f73a7c8b920946c1ecdb2be20120ef2464235d2 100644
--- a/ui/base/ime/linux/fake_input_method_context_factory.cc
+++ b/ui/ozone/ime/input_method_context_factory_ozone.cc
@@ -2,19 +2,21 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "ui/base/ime/linux/fake_input_method_context_factory.h"
+#include "ui/ozone/ime/input_method_context_factory_ozone.h"
#include "ui/base/ime/linux/fake_input_method_context.h"
namespace ui {
-FakeInputMethodContextFactory::FakeInputMethodContextFactory() {}
+InputMethodContextFactoryOzone::InputMethodContextFactoryOzone() {
+}
-// Overriden from ui::LinuxInputMethodContextFactory
+InputMethodContextFactoryOzone::~InputMethodContextFactoryOzone() {
+}
scoped_ptr<LinuxInputMethodContext>
-FakeInputMethodContextFactory::CreateInputMethodContext(
- LinuxInputMethodContextDelegate* /* delegate */) const {
+InputMethodContextFactoryOzone::CreateInputMethodContext(
+ LinuxInputMethodContextDelegate* delegate) const {
return scoped_ptr<LinuxInputMethodContext>(new FakeInputMethodContext());
}

Powered by Google App Engine
This is Rietveld 408576698