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

Unified Diff: ui/aura/window.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/aura/test/test_window_delegate.cc ('k') | ui/aura/window.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/window.h
diff --git a/ui/aura/window.h b/ui/aura/window.h
index dbd2d2b3e44cff9c65b6df37b33ae35ca015da24..d6d6f7a574a84c4d4be8c62f1174932091ae259b 100644
--- a/ui/aura/window.h
+++ b/ui/aura/window.h
@@ -38,6 +38,7 @@ class Vector2d;
namespace ui {
class EventHandler;
class Layer;
+class TextInputClient;
class Texture;
}
@@ -218,6 +219,10 @@ class AURA_EXPORT Window : public ui::LayerDelegate,
const Window* target,
gfx::Rect* rect);
+ // Returns the focused text input client within this window.
+ // This function does not look at child windows.
+ ui::TextInputClient* GetFocusedTextInputClient();
+
// Moves the cursor to the specified location relative to the window.
void MoveCursorTo(const gfx::Point& point_in_window);
« no previous file with comments | « ui/aura/test/test_window_delegate.cc ('k') | ui/aura/window.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698