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

Unified Diff: ui/aura/desktop_host.h

Issue 8576005: IME (input method editor) support for Aura, part 3 of 3: Use ui::InputMethod in ash. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: aura_win fix Created 9 years, 1 month 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/aura/desktop_host.h
diff --git a/ui/aura/desktop_host.h b/ui/aura/desktop_host.h
index b276dead1e1ad6609ba65729ab472eea254ceb13..2d0b936ec98d6421b5086330a7594fd932d3615d 100644
--- a/ui/aura/desktop_host.h
+++ b/ui/aura/desktop_host.h
@@ -10,6 +10,10 @@
#include "ui/aura/cursor.h"
#include "ui/gfx/native_widget_types.h"
+namespace ui {
+class InputMethod;
+}
+
namespace gfx {
class Point;
class Rect;
@@ -61,6 +65,9 @@ class DesktopHost : public MessageLoop::Dispatcher {
// Posts |native_event| to the platform's event queue.
virtual void PostNativeEvent(const base::NativeEvent& native_event) = 0;
+
+ // Gets the input method for the desktop.
+ virtual ui::InputMethod* GetInputMethod() = 0;
};
} // namespace aura

Powered by Google App Engine
This is Rietveld 408576698