|
|
mash: Preliminary support for shelf auto-hide
Shelf now collapses to light-bar when auto-hide is enabled and shows itself on
mouse hover.
* Observe ShelfLayoutManager for state changes and send the preferred size to
the window manager via a window property.
* Use mouse hover/enter/exit over the shelf widget and status area widget to
trigger shelf show.
This depends on a patch to shutdown the layout manager before the status area
widget is destroyed to avoid processing ET_MOUSE_EXITED events mid-shutdown.
TODO: Animations of widget position and opacity
TODO: Update the user window work area when auto-hide enabled
TODO: Track visible and maximized windows for special-case shelf opacity and
visibility behaviors
BUG= 613212
TEST=existing ash_unittests
Committed: https://crrev.com/84d491374cd8d3eef55deb09117a11b0a70b813c
Cr-Commit-Position: refs/heads/master@{#396048}
Total comments: 14
Total comments: 4
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+185 lines, -45 lines) |
Patch |
 |
M |
ash/mus/shelf_delegate_mus.h
|
View
|
1
2
3
4
|
2 chunks |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ash/mus/shelf_delegate_mus.cc
|
View
|
1
2
3
4
|
4 chunks |
+17 lines, -1 line |
0 comments
|
Download
|
 |
M |
ash/screen_util.cc
|
View
|
|
2 chunks |
+11 lines, -12 lines |
0 comments
|
Download
|
 |
M |
ash/shelf/shelf_delegate.h
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+6 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ash/shelf/shelf_layout_manager.h
|
View
|
1
2
3
|
7 chunks |
+16 lines, -1 line |
0 comments
|
Download
|
 |
M |
ash/shelf/shelf_layout_manager.cc
|
View
|
1
2
3
4
5
6
7
|
10 chunks |
+73 lines, -31 lines |
0 comments
|
Download
|
 |
M |
ash/shelf/shelf_layout_manager_unittest.cc
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
ash/shelf/shelf_view_unittest.cc
|
View
|
1
2
3
4
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ash/shelf/shelf_widget.h
|
View
|
1
2
3
4
5
6
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ash/shelf/shelf_widget.cc
|
View
|
1
2
3
4
5
6
|
1 chunk |
+12 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ash/shelf/shelf_widget_unittest.cc
|
View
|
1
2
3
4
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ash/shell/shelf_delegate_impl.h
|
View
|
1
2
3
4
|
2 chunks |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ash/shell/shelf_delegate_impl.cc
|
View
|
1
2
3
4
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ash/system/status_area_widget.h
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ash/system/status_area_widget.cc
|
View
|
|
1 chunk |
+12 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ash/test/test_shelf_delegate.h
|
View
|
1
2
3
4
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ash/test/test_shelf_delegate.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/ash/launcher/chrome_launcher_controller.h
|
View
|
1
2
3
4
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc
|
View
|
1
2
3
4
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
Total messages: 18 (8 generated)
|