Index: ui/views/cocoa/bridged_native_widget.mm |
diff --git a/ui/views/cocoa/bridged_native_widget.mm b/ui/views/cocoa/bridged_native_widget.mm |
index 6fd25948eacf5b38a799ff65f4d4b84e8224f4b0..da6acf2f6a6058fe3d52ded46b29a8c893c4e8c6 100644 |
--- a/ui/views/cocoa/bridged_native_widget.mm |
+++ b/ui/views/cocoa/bridged_native_widget.mm |
@@ -799,6 +799,9 @@ void BridgedNativeWidget::OnWindowKeyStatusChangedTo(bool is_key) { |
if ([window_ contentView] == [window_ firstResponder]) { |
if (is_key) { |
widget->OnNativeFocus(); |
+ // Explicitly set the keyboard accessibility state on regaining key |
+ // window status. |
+ [bridged_view_ updateFullKeyboardAccess]; |
widget->GetFocusManager()->RestoreFocusedView(); |
} else { |
widget->OnNativeBlur(); |