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

Unified Diff: ui/views/view.h

Issue 1177503003: Remove the 2-level input method system & InputMethodBridge. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: test green. 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
Index: ui/views/view.h
diff --git a/ui/views/view.h b/ui/views/view.h
index 7e3183e43cfa0f6f997197fe49b45991be8afc99..382f48269b213806e364df321ecb423670aa88c9 100644
--- a/ui/views/view.h
+++ b/ui/views/view.h
@@ -50,6 +50,7 @@ class Transform;
namespace ui {
struct AXViewState;
class Compositor;
+class InputMethod;
class Layer;
class NativeTheme;
class PaintContext;
@@ -66,7 +67,6 @@ class ContextMenuController;
class DragController;
class FocusManager;
class FocusTraversable;
-class InputMethod;
class LayoutManager;
class NativeViewAccessibility;
class ScrollView;
@@ -692,15 +692,10 @@ class VIEWS_EXPORT View : public ui::LayerDelegate,
return notify_enter_exit_on_child_;
}
- // Returns the View's TextInputClient instance or NULL if the View doesn't
- // support text input.
- virtual ui::TextInputClient* GetTextInputClient();
-
// Convenience method to retrieve the InputMethod associated with the
- // Widget that contains this view. Returns NULL if this view is not part of a
- // view hierarchy with a Widget.
- virtual InputMethod* GetInputMethod();
- virtual const InputMethod* GetInputMethod() const;
+ // Widget that contains this view.
+ ui::InputMethod* GetInputMethod();
sky 2015/06/30 16:32:31 Inline this one and call to the const version. See
Shu Chen 2015/07/01 02:38:57 Done.
+ const ui::InputMethod* GetInputMethod() const;
// Sets a new ViewTargeter for the view, and returns the previous
// ViewTargeter.
« no previous file with comments | « ui/views/test/widget_test_mac.mm ('k') | ui/views/view.cc » ('j') | ui/views/widget/widget.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698