|
Disables showing tooltips while a system menu is showing on windows
When a system menu is showing we continue to get and receive mouse
events while the mouse is over the menu. The tooltip code thinks the
mouse is over the aura::Window and will then show the tooltip. The fix
is to disable tooltips while system menus are showing.
I'm also making the only way to enable/disable tooltips be by way of a
scoper. This should hopefully be less error prone.
BUG= 327970
TEST=none
R=varunjain@chromium.org
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=243350
Total comments: 3
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+141 lines, -6 lines) |
Patch |
 |
M |
content/browser/renderer_host/render_widget_host_view_aura.h
|
View
|
|
2 chunks |
+5 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/render_widget_host_view_aura.cc
|
View
|
1
2
|
3 chunks |
+4 lines, -5 lines |
0 comments
|
Download
|
 |
M |
ui/aura/aura.gyp
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
A |
ui/aura/client/scoped_tooltip_disabler.h
|
View
|
1
|
1 chunk |
+39 lines, -0 lines |
0 comments
|
Download
|
 |
A |
ui/aura/client/scoped_tooltip_disabler.cc
|
View
|
1
|
1 chunk |
+43 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ui/aura/client/tooltip_client.h
|
View
|
|
2 chunks |
+8 lines, -1 line |
3 comments
|
Download
|
 |
M |
ui/views/widget/desktop_aura/desktop_root_window_host_win.h
|
View
|
|
3 chunks |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ui/views/widget/desktop_aura/desktop_root_window_host_win.cc
|
View
|
|
2 chunks |
+10 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ui/views/widget/native_widget_win.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
ui/views/widget/native_widget_win.cc
|
View
|
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ui/views/win/hwnd_message_handler.h
|
View
|
1
|
3 chunks |
+7 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ui/views/win/hwnd_message_handler.cc
|
View
|
1
|
3 chunks |
+12 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ui/views/win/hwnd_message_handler_delegate.h
|
View
|
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
Total messages: 7 (0 generated)
|