|
Enable mash shelf tooltips.
Make ShelfItemDelegateMus::ShouldShowTooltip() return true.
Put sysui menu/bubble widgets in mus's MENUS container.
(bubbles are used for shelf tooltips and volume/etc. settings)
Put sysui tooltip widgets in mus's TOOLTIPS container.
Rewrite ShelfTooltipManager as an aura::Window pre-target handler.
(can't install itself as a pre-target handler for the desktop root...)
Remove ShelfButtonHost; simplify ShelfButton and AppListButton.
(contain event observation logic within ShelfTooltipManager)
Update unit tests and helper classes; note currently broken behavior:
TODO: Make tooltips close on touch events outside the shelf.
TODO: Push item state to items; avoid shelf item delegates, etc.
BUG= 595853
TEST=mash shelf shows tooltips; no cros regressions (except not closing on touch/gesture outside shelf).
R=sky@chromium.org
Committed: https://crrev.com/e9d901efb5bc6bbf434ac67b70f90e9ef73419d8
Cr-Commit-Position: refs/heads/master@{#382976}
Total comments: 9
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+504 lines, -1027 lines) |
Patch |
 |
M |
ash/ash.gyp
|
View
|
1
2
3
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
ash/mus/shelf_delegate_mus.cc
|
View
|
|
1 chunk |
+1 line, -4 lines |
0 comments
|
Download
|
 |
M |
ash/mus/sysui_application.cc
|
View
|
1
2
3
|
3 chunks |
+16 lines, -6 lines |
0 comments
|
Download
|
 |
M |
ash/shelf/app_list_button.h
|
View
|
1
2
|
3 chunks |
+4 lines, -18 lines |
0 comments
|
Download
|
 |
M |
ash/shelf/app_list_button.cc
|
View
|
1
2
|
6 chunks |
+15 lines, -44 lines |
0 comments
|
Download
|
 |
M |
ash/shelf/shelf_button.h
|
View
|
1
2
|
6 chunks |
+10 lines, -46 lines |
0 comments
|
Download
|
 |
M |
ash/shelf/shelf_button.cc
|
View
|
1
2
|
12 chunks |
+50 lines, -102 lines |
0 comments
|
Download
|
 |
D |
ash/shelf/shelf_button_host.h
|
View
|
1
|
1 chunk |
+0 lines, -65 lines |
0 comments
|
Download
|
 |
M |
ash/shelf/shelf_tooltip_manager.h
|
View
|
1
2
|
1 chunk |
+25 lines, -59 lines |
0 comments
|
Download
|
 |
M |
ash/shelf/shelf_tooltip_manager.cc
|
View
|
1
2
3
4
5
|
3 chunks |
+91 lines, -241 lines |
0 comments
|
Download
|
 |
M |
ash/shelf/shelf_tooltip_manager_unittest.cc
|
View
|
1
2
3
4
|
6 chunks |
+58 lines, -139 lines |
0 comments
|
Download
|
 |
M |
ash/shelf/shelf_view.h
|
View
|
1
2
|
10 chunks |
+23 lines, -25 lines |
0 comments
|
Download
|
 |
M |
ash/shelf/shelf_view.cc
|
View
|
1
2
3
|
22 chunks |
+131 lines, -171 lines |
0 comments
|
Download
|
 |
M |
ash/shelf/shelf_view_unittest.cc
|
View
|
1
2
3
|
14 chunks |
+66 lines, -101 lines |
0 comments
|
Download
|
 |
M |
ash/test/shelf_test_api.cc
|
View
|
1
|
1 chunk |
+2 lines, -5 lines |
0 comments
|
Download
|
 |
M |
ash/test/shelf_view_test_api.h
|
View
|
1
|
2 chunks |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ash/test/shelf_view_test_api.cc
|
View
|
1
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ui/app_list/views/app_list_drag_and_drop_host.h
|
View
|
1
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
Total messages: 26 (13 generated)
|