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

Unified Diff: ui/views/view.cc

Issue 2826423003: Expand Chrome OS ARC support to create one tree source per package (Closed)
Patch Set: One tree per app. Created 3 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
« ui/views/focus/focus_manager.cc ('K') | « ui/views/focus/focus_manager.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/view.cc
diff --git a/ui/views/view.cc b/ui/views/view.cc
index 83192d8c93df41d122c633fa68f89130182ba0cb..e25efb3a206b429019d78591b143b6e39ea9792d 100644
--- a/ui/views/view.cc
+++ b/ui/views/view.cc
@@ -1303,13 +1303,17 @@ const FocusManager* View::GetFocusManager() const {
}
void View::RequestFocus() {
+ LOG(ERROR) << "request focus!!!";
FocusManager* focus_manager = GetFocusManager();
if (focus_manager) {
+ LOG(ERROR) << "inside!";
bool focusable = focus_manager->keyboard_accessible()
? IsAccessibilityFocusable()
: IsFocusable();
- if (focusable)
+ if (focusable) {
+ LOG(ERROR) << "can focus!!!!";
focus_manager->SetFocusedView(this);
+ }
}
}
« ui/views/focus/focus_manager.cc ('K') | « ui/views/focus/focus_manager.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698