Index: chrome/browser/ui/views/location_bar/location_bar_view.cc |
diff --git a/chrome/browser/ui/views/location_bar/location_bar_view.cc b/chrome/browser/ui/views/location_bar/location_bar_view.cc |
index f05ee662e4769e918a9e34263fa646b6bf1a3a11..5ee8ed62d0f2aaa6f922030217b99a16da82e1d2 100644 |
--- a/chrome/browser/ui/views/location_bar/location_bar_view.cc |
+++ b/chrome/browser/ui/views/location_bar/location_bar_view.cc |
@@ -342,7 +342,10 @@ void LocationBarView::InvalidatePageActions() { |
} |
void LocationBarView::OnFocus() { |
- // Focus the view widget first which implements accessibility for Chrome OS. |
+ // Focus the view widget first which implements accessibility for |
+ // Chrome OS. It is noop on Win. This should be removed once |
+ // Chrome OS migrates to aura, which uses Views' textfield that receives |
+ // focus. See crbug.com/106428. |
GetWidget()->NotifyAccessibilityEvent( |
this, ui::AccessibilityTypes::EVENT_FOCUS, false); |