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

Unified Diff: chrome/browser/ui/views/location_bar/bubble_icon_view.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: chrome/browser/ui/views/location_bar/bubble_icon_view.cc
diff --git a/chrome/browser/ui/views/location_bar/bubble_icon_view.cc b/chrome/browser/ui/views/location_bar/bubble_icon_view.cc
index 2a3d033b8e0b24c2ebd06012aa4de88916515a9f..a5814d36abb6c75e22b854a42dfea76fd30af29c 100644
--- a/chrome/browser/ui/views/location_bar/bubble_icon_view.cc
+++ b/chrome/browser/ui/views/location_bar/bubble_icon_view.cc
@@ -13,7 +13,7 @@ BubbleIconView::BubbleIconView(CommandUpdater* command_updater, int command_id)
: command_updater_(command_updater),
command_id_(command_id),
suppress_mouse_released_action_(false) {
- set_accessibility_focusable(true);
+ SetAccessibilityFocusable(true);
LocationBarView::InitTouchableLocationBarChildView(this);
}

Powered by Google App Engine
This is Rietveld 408576698