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

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

Issue 860983004: text input focus: Supports Window::GetFocusedTextInputClient. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 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_aura.cc ('k') | ui/views/widget/widget.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/widget/widget.h
diff --git a/ui/views/widget/widget.h b/ui/views/widget/widget.h
index 510219cfdb286586b00d739c78ce8d09d806ae08..06bd49190c275cc2fd4b2356d3529048f71769d6 100644
--- a/ui/views/widget/widget.h
+++ b/ui/views/widget/widget.h
@@ -567,6 +567,9 @@ class VIEWS_EXPORT Widget : public internal::NativeWidgetDelegate,
FocusManager* GetFocusManager();
const FocusManager* GetFocusManager() const;
+ // Returns the focused text input client within this widget.
+ ui::TextInputClient* GetFocusedTextInputClient();
+
// Returns the InputMethod for this widget.
// Note that all widgets in a widget hierarchy share the same input method.
InputMethod* GetInputMethod();
« no previous file with comments | « ui/views/widget/native_widget_aura.cc ('k') | ui/views/widget/widget.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698