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

Unified Diff: ui/ozone/platform/caca/ozone_platform_caca.cc

Issue 284323002: ozone: Remove InputMethodContextFactoryOzone and FakeInputMethodContextOzone. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 6 years, 7 months 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/platform/caca/ozone_platform_caca.cc
diff --git a/ui/ozone/platform/caca/ozone_platform_caca.cc b/ui/ozone/platform/caca/ozone_platform_caca.cc
index a39e23507efe62d41274bf55e3761903f7135eca..ab5abf6750dd185510fbf27704e7e9a230e2e376 100644
--- a/ui/ozone/platform/caca/ozone_platform_caca.cc
+++ b/ui/ozone/platform/caca/ozone_platform_caca.cc
@@ -5,7 +5,6 @@
#include "ui/ozone/platform/caca/ozone_platform_caca.h"
#include "ui/base/cursor/ozone/cursor_factory_ozone.h"
-#include "ui/ozone/ime/input_method_context_factory_ozone.h"
#include "ui/ozone/ozone_platform.h"
#include "ui/ozone/platform/caca/caca_connection.h"
#include "ui/ozone/platform/caca/caca_event_factory.h"
@@ -31,10 +30,6 @@ class OzonePlatformCaca : public OzonePlatform {
virtual EventFactoryOzone* GetEventFactoryOzone() OVERRIDE {
return event_factory_ozone_.get();
}
- virtual InputMethodContextFactoryOzone* GetInputMethodContextFactoryOzone()
- OVERRIDE {
- return input_method_context_factory_ozone_.get();
- }
virtual CursorFactoryOzone* GetCursorFactoryOzone() OVERRIDE {
return cursor_factory_ozone_.get();
}
@@ -49,8 +44,6 @@ class OzonePlatformCaca : public OzonePlatform {
virtual void InitializeUI() OVERRIDE {
surface_factory_ozone_.reset(new CacaSurfaceFactory(&connection_));
event_factory_ozone_.reset(new CacaEventFactory(&connection_));
- input_method_context_factory_ozone_.reset(
- new InputMethodContextFactoryOzone());
cursor_factory_ozone_.reset(new CursorFactoryOzone());
}
@@ -60,9 +53,6 @@ class OzonePlatformCaca : public OzonePlatform {
CacaConnection connection_;
scoped_ptr<CacaSurfaceFactory> surface_factory_ozone_;
scoped_ptr<CacaEventFactory> event_factory_ozone_;
- // This creates a minimal input context.
- scoped_ptr<InputMethodContextFactoryOzone>
- input_method_context_factory_ozone_;
scoped_ptr<CursorFactoryOzone> cursor_factory_ozone_;
DISALLOW_COPY_AND_ASSIGN(OzonePlatformCaca);

Powered by Google App Engine
This is Rietveld 408576698