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..b1f84f59d9ba95275d72865e93c3ef6ad493fdb7 100644 |
--- a/ui/views/focus/focus_manager.h |
+++ b/ui/views/focus/focus_manager.h |
@@ -184,6 +184,9 @@ class VIEWS_EXPORT FocusManager { |
// the native focus (so we still get keyboard events). |
void ClearFocus(); |
+ // Clears the focused view if it has become unfocusable. |
+ void ClearFocusIfUnfocusable(); |
+ |
// Validates the focused view, clearing it if the window it belongs too is not |
// attached to the window hierarchy anymore. |
void ValidateFocusedView(); |