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

Unified Diff: ash/system/tray/actionable_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: ash/system/tray/actionable_view.cc
diff --git a/ash/system/tray/actionable_view.cc b/ash/system/tray/actionable_view.cc
index 169b46da808d70f7b6f6416b18edfd963ae5f433..261cefd30a1900248ac10007fddcdca8dbf9d41c 100644
--- a/ash/system/tray/actionable_view.cc
+++ b/ash/system/tray/actionable_view.cc
@@ -16,7 +16,7 @@ const char ActionableView::kViewClassName[] = "tray/ActionableView";
ActionableView::ActionableView()
: has_capture_(false) {
- set_focusable(true);
+ SetFocusable(true);
}
ActionableView::~ActionableView() {

Powered by Google App Engine
This is Rietveld 408576698