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

Unified Diff: ash/system/audio/volume_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: ash/system/audio/volume_view.cc
diff --git a/ash/system/audio/volume_view.cc b/ash/system/audio/volume_view.cc
index 80565463ae0243da486032ee04d6378dd5150bfb..9d174d02cf48e5c2ee1b23fa629a361136ec8e4b 100644
--- a/ash/system/audio/volume_view.cc
+++ b/ash/system/audio/volume_view.cc
@@ -110,7 +110,7 @@ VolumeView::VolumeView(SystemTrayItem* owner,
device_type_(NULL),
more_(NULL),
is_default_view_(is_default_view) {
- SetFocusable(false);
+ SetFocusBehavior(views::View::FocusBehavior::NEVER);
views::BoxLayout* box_layout = new views::BoxLayout(
views::BoxLayout::kHorizontal, 0, 0, kBoxLayoutPadding);
box_layout->SetDefaultFlex(0);

Powered by Google App Engine
This is Rietveld 408576698