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

Unified Diff: ash/system/audio/volume_view.cc

Issue 1898633004: Views: Add new SetFocusBehavior method. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased. 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..0d778487fc31c3a1e8e9e732678430c90898f70f 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(FocusBehavior::NEVER);
views::BoxLayout* box_layout = new views::BoxLayout(
views::BoxLayout::kHorizontal, 0, 0, kBoxLayoutPadding);
box_layout->SetDefaultFlex(0);
« no previous file with comments | « ash/sticky_keys/sticky_keys_overlay.cc ('k') | ash/system/chromeos/network/network_state_list_detailed_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698