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

Unified Diff: ash/shelf/shelf_button.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: ash/shelf/shelf_button.cc
diff --git a/ash/shelf/shelf_button.cc b/ash/shelf/shelf_button.cc
index 7a805bd99388f9bac7de93d1392259e550d27104..ec707c2673b98397928c12cce88e3bc1ac60d1ce 100644
--- a/ash/shelf/shelf_button.cc
+++ b/ash/shelf/shelf_button.cc
@@ -228,7 +228,7 @@ ShelfButton::ShelfButton(ShelfView* shelf_view)
bar_(new BarView(shelf_view->shelf())),
state_(STATE_NORMAL),
destroyed_flag_(nullptr) {
- SetAccessibilityFocusable(true);
+ SetFocusBehavior(views::View::FocusBehavior::ACCESSIBLE_ONLY);
const gfx::ShadowValue kShadows[] = {
gfx::ShadowValue(gfx::Vector2d(0, 2), 0, SkColorSetARGB(0x1A, 0, 0, 0)),
« no previous file with comments | « ash/shelf/overflow_button.cc ('k') | ash/shell/lock_view.cc » ('j') | ui/views/view.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698