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

Unified Diff: ui/aura/desktop_host.h

Issue 8824007: Revert 113224 - IME (input method editor) support for Aura, part 3 of 3: Use ui::InputMethod in u... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 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/aura/desktop.cc ('k') | ui/aura/desktop_host_ime_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/desktop_host.h
===================================================================
--- ui/aura/desktop_host.h (revision 113258)
+++ ui/aura/desktop_host.h (working copy)
@@ -8,13 +8,8 @@
#include "base/message_loop.h"
#include "ui/aura/cursor.h"
-#include "ui/base/ime/input_method_delegate.h"
#include "ui/gfx/native_widget_types.h"
-namespace ui {
-class InputMethod;
-}
-
namespace gfx {
class Point;
class Rect;
@@ -27,8 +22,7 @@
// DesktopHost bridges between a native window and the embedded Desktop. It
// provides the accelerated widget and maps events from the native os to aura.
-class DesktopHost : public MessageLoop::Dispatcher,
- public ui::internal::InputMethodDelegate {
+class DesktopHost : public MessageLoop::Dispatcher {
public:
virtual ~DesktopHost() {}
@@ -70,14 +64,6 @@
// Posts |native_event| to the platform's event queue.
virtual void PostNativeEvent(const base::NativeEvent& native_event) = 0;
-
- // Sets the input method for the desktop. DesktopHost owns the input method.
- // The function is only for unit tests.
- virtual void SetInputMethod(ui::InputMethod* input_method) = 0;
-
- // Gets the input method for the desktop. The caller does not own the returned
- // value.
- virtual ui::InputMethod* GetInputMethod() const = 0;
};
} // namespace aura
« no previous file with comments | « ui/aura/desktop.cc ('k') | ui/aura/desktop_host_ime_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698