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

Unified Diff: ash/system/tray/actionable_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
« no previous file with comments | « ash/system/toast/toast_overlay.cc ('k') | ash/system/tray/tray_details_view_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/system/tray/actionable_view.cc
diff --git a/ash/system/tray/actionable_view.cc b/ash/system/tray/actionable_view.cc
index dc26cde928da8d473876362597d568829251b19e..0ebb904c1625c697bc8258440297044553a39e3e 100644
--- a/ash/system/tray/actionable_view.cc
+++ b/ash/system/tray/actionable_view.cc
@@ -15,7 +15,7 @@ const char ActionableView::kViewClassName[] = "tray/ActionableView";
ActionableView::ActionableView()
: has_capture_(false) {
- SetFocusable(true);
+ SetFocusBehavior(FocusBehavior::ALWAYS);
}
ActionableView::~ActionableView() {
« no previous file with comments | « ash/system/toast/toast_overlay.cc ('k') | ash/system/tray/tray_details_view_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698