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

Unified Diff: ui/views/focus/focus_manager.h

Issue 108063004: Give up focus if the focused view becomes unfocusable (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased + Some updates Created 6 years, 4 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 | « no previous file | ui/views/focus/focus_manager.cc » ('j') | ui/views/view.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/focus/focus_manager.h
diff --git a/ui/views/focus/focus_manager.h b/ui/views/focus/focus_manager.h
index ebdc2a3d88e2034ec7b08359af0546dddb9f07ce..a38d303116e3d55367b7a8ac7f453edd2c503688 100644
--- a/ui/views/focus/focus_manager.h
+++ b/ui/views/focus/focus_manager.h
@@ -184,6 +184,10 @@ class VIEWS_EXPORT FocusManager {
// the native focus (so we still get keyboard events).
void ClearFocus();
+ // Revises the focused view. Tries to advance focus if the focused view has
+ // become unfocusable.
+ void ReviseFocusedView();
sky 2014/08/07 21:40:34 I would rather you name this something like Advanc
mohsen 2014/08/08 01:32:07 Done.
+
// Validates the focused view, clearing it if the window it belongs too is not
// attached to the window hierarchy anymore.
void ValidateFocusedView();
« no previous file with comments | « no previous file | ui/views/focus/focus_manager.cc » ('j') | ui/views/view.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698