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

Unified Diff: ash/sticky_keys/sticky_keys_overlay.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/sticky_keys/sticky_keys_overlay.cc
diff --git a/ash/sticky_keys/sticky_keys_overlay.cc b/ash/sticky_keys/sticky_keys_overlay.cc
index 6c376cfe9e76a0a8963f95b99c80f9abd67c1b89..641488c45a53e0e869b236f361ff3f0b93a48fb2 100644
--- a/ash/sticky_keys/sticky_keys_overlay.cc
+++ b/ash/sticky_keys/sticky_keys_overlay.cc
@@ -67,7 +67,7 @@ StickyKeyOverlayLabel::StickyKeyOverlayLabel(const std::string& key_name)
SetHorizontalAlignment(gfx::ALIGN_LEFT);
SetFontList(rb->GetFontList(kKeyLabelFontStyle));
SetAutoColorReadabilityEnabled(false);
- SetFocusable(false);
+ SetFocusBehavior(FocusBehavior::NEVER);
Evan Stade 2016/04/20 21:17:03 isn't NEVER the default? Why do you have to call t
karandeepb 2016/04/21 03:16:33 Yeah NEVER is the default. This was just refactori
Evan Stade 2016/04/25 21:30:52 I think we should remove it because I don't see it
Evan Stade 2016/04/25 21:32:33 oh, and maybe we can get rid of NEVER, as far as t
SetEnabledColor(SkColorSetARGB(0x80, 0xFF, 0xFF, 0xFF));
SetDisabledColor(SkColorSetARGB(0x80, 0xFF, 0xFF, 0xFF));
SetSubpixelRenderingEnabled(false);

Powered by Google App Engine
This is Rietveld 408576698