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

Unified Diff: ui/views/widget/native_widget_private.h

Issue 1177503003: Remove the 2-level input method system & InputMethodBridge. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: nits. Created 5 years, 6 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
« no previous file with comments | « ui/views/widget/native_widget_mac.mm ('k') | ui/views/widget/widget.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/widget/native_widget_private.h
diff --git a/ui/views/widget/native_widget_private.h b/ui/views/widget/native_widget_private.h
index bee16b21178dc164861a69e8b41b7629e13e9a4d..2adf5894c4f6bc09b10b500ec335af996c387994 100644
--- a/ui/views/widget/native_widget_private.h
+++ b/ui/views/widget/native_widget_private.h
@@ -23,10 +23,8 @@ class OSExchangeData;
}
namespace views {
-class InputMethod;
class TooltipManager;
namespace internal {
-class InputMethodDelegate;
////////////////////////////////////////////////////////////////////////////////
// NativeWidgetPrivate interface
@@ -133,19 +131,8 @@ class VIEWS_EXPORT NativeWidgetPrivate : public NativeWidget {
// Returns true if this native widget is capturing events.
virtual bool HasCapture() const = 0;
- // Returns the InputMethod for this native widget.
- // Note that all widgets in a widget hierarchy share the same input method.
- // TODO(suzhe): rename to GetInputMethod() when NativeWidget implementation
- // class doesn't inherit Widget anymore.
- virtual InputMethod* CreateInputMethod() = 0;
-
- // Returns the InputMethodDelegate for this native widget.
- virtual InputMethodDelegate* GetInputMethodDelegate() = 0;
-
// Returns the ui::InputMethod for this native widget.
- // TODO(yukishiino): Rename this method to GetInputMethod once we remove
- // views::InputMethod.
- virtual ui::InputMethod* GetHostInputMethod() = 0;
+ virtual ui::InputMethod* GetInputMethod() = 0;
// Centers the window and sizes it to the specified size.
virtual void CenterWindow(const gfx::Size& size) = 0;
« no previous file with comments | « ui/views/widget/native_widget_mac.mm ('k') | ui/views/widget/widget.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698