Chromium Code Reviews| Index: ui/views/focus/focus_manager.h |
| diff --git a/ui/views/focus/focus_manager.h b/ui/views/focus/focus_manager.h |
| index 7d7c7dc16e02454ede26733b6d93178a823eda67..1e2988112f6e1d7b8c1bda4354980a5de7cc66be 100644 |
| --- a/ui/views/focus/focus_manager.h |
| +++ b/ui/views/focus/focus_manager.h |
| @@ -72,8 +72,8 @@ |
| // is FocusTraversable. |
| namespace ui { |
| -class AcceleratorTarget; |
| class AcceleratorManager; |
| +class AcceleratorTarget; |
| class EventHandler; |
| class KeyEvent; |
| } |
| @@ -156,6 +156,10 @@ class VIEWS_EXPORT FocusManager { |
| // further. |
| bool OnKeyEvent(const ui::KeyEvent& event); |
| + // Changes the text input focus to |view->GetTextInputClient()| iff |view| |
|
msw
2014/03/11 00:58:50
nit: Mention that views should call this when thei
Yuki
2014/03/11 15:27:37
Done.
|
| + // is focused. |
| + void OnTextInputClientChanged(View* view); |
| + |
| // Returns true is the specified is part of the hierarchy of the window |
| // associated with this FocusManager. |
| bool ContainsView(View* view); |
| @@ -332,6 +336,10 @@ class VIEWS_EXPORT FocusManager { |
| // and should not be processed further. |
| bool ProcessArrowKeyTraversal(const ui::KeyEvent& event); |
| + // Moves the text input focus into/out from |view|. |
| + void FocusTextInputClient(View* view); |
| + void BlurTextInputClient(View* view); |
| + |
| // Keeps track of whether shortcut handling is currently suspended. |
| static bool shortcut_handling_suspended_; |