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

Unified Diff: ash/shelf/shelf_button.cc

Issue 108063004: Give up focus if the focused view becomes unfocusable (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Extracted to common code into FocusManager class Created 7 years 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 93a44e1a1a05bb3e8be39f6847c4ae5c2bdb55e6..dd3e3e90f6a2a62619ec51a841204f5dc3802b0d 100644
--- a/ash/shelf/shelf_button.cc
+++ b/ash/shelf/shelf_button.cc
@@ -238,7 +238,7 @@ ShelfButton::ShelfButton(views::ButtonListener* listener,
state_(STATE_NORMAL),
shelf_layout_manager_(shelf_layout_manager),
destroyed_flag_(NULL) {
- set_accessibility_focusable(true);
+ SetAccessibilityFocusable(true);
const gfx::ShadowValue kShadows[] = {
gfx::ShadowValue(gfx::Point(0, 2), 0, SkColorSetARGB(0x1A, 0, 0, 0)),

Powered by Google App Engine
This is Rietveld 408576698