|
|
aura: Fix WidgetFocusChangeListener::OnNativeFocusChange().
In Aura, we were passing the newly-focused view through
views::WidgetFocusManager::OnWidgetFocusEvent()'s
"focused_before" parameter. This made us not close
extension popups when they lost the focus.
(Note that a popup still doesn't get closed upon clicking
outside of the popup on the desktop, presumably because the
popup retains the focus in Ash.)
BUG= 132697
TEST=added, also manual testing
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=142858
Total comments: 1
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+177 lines, -25 lines) |
Patch |
 |
M |
content/browser/renderer_host/render_widget_host_view_aura.h
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/render_widget_host_view_aura.cc
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
content/browser/web_contents/web_contents_view_aura.h
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
content/browser/web_contents/web_contents_view_aura.cc
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
ui/aura/demo/demo_main.cc
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
ui/aura/focus_manager.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
ui/aura/test/test_window_delegate.h
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
ui/aura/test/test_window_delegate.cc
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
ui/aura/window_delegate.h
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
ui/aura/window_unittest.cc
|
View
|
1
2
|
2 chunks |
+40 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ui/views/focus/focus_manager_test.h
|
View
|
|
4 chunks |
+28 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ui/views/focus/focus_manager_test.cc
|
View
|
|
4 chunks |
+32 lines, -1 line |
0 comments
|
Download
|
 |
M |
ui/views/focus/focus_manager_unittest.cc
|
View
|
1
2
3
|
3 chunks |
+39 lines, -0 lines |
1 comment
|
Download
|
 |
M |
ui/views/widget/native_widget_aura.h
|
View
|
1
2
3
|
2 chunks |
+4 lines, -1 line |
0 comments
|
Download
|
 |
M |
ui/views/widget/native_widget_aura.cc
|
View
|
1
2
3
|
3 chunks |
+16 lines, -5 lines |
0 comments
|
Download
|
 |
M |
ui/views/widget/native_widget_win.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
ui/views/widget/native_widget_win.cc
|
View
|
1
2
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
ui/views/widget/widget.h
|
View
|
1
2
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
ui/views/widget/widget.cc
|
View
|
1
2
|
1 chunk |
+4 lines, -4 lines |
0 comments
|
Download
|
Total messages: 7 (0 generated)
|