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

Unified Diff: chrome/browser/ui/views/location_bar/page_action_image_view.cc

Issue 1690543004: MacViews: Implement Full Keyboard Access. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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
Index: chrome/browser/ui/views/location_bar/page_action_image_view.cc
diff --git a/chrome/browser/ui/views/location_bar/page_action_image_view.cc b/chrome/browser/ui/views/location_bar/page_action_image_view.cc
index 1ba65d46cae8d2348fa382578da7df1704a3c625..8bb7cb7a3b7640f8613caf2862805eff39499631 100644
--- a/chrome/browser/ui/views/location_bar/page_action_image_view.cc
+++ b/chrome/browser/ui/views/location_bar/page_action_image_view.cc
@@ -37,7 +37,7 @@ PageActionImageView::PageActionImageView(LocationBarView* owner,
// There should be an associated focus manager so that we can safely register
// accelerators for commands.
DCHECK(GetFocusManagerForAccelerator());
- SetAccessibilityFocusable(true);
+ SetFocusBehavior(views::View::FocusBehavior::ACCESSIBLE_ONLY);
view_controller_->SetDelegate(this);
view_controller_->RegisterCommand();
set_context_menu_controller(this);

Powered by Google App Engine
This is Rietveld 408576698