|
ash: Fix variable names and setters in ShelfLayoutManager and tests
Calls to set shelf state should go through Shelf, not ShelfLayoutManager.
* Move all calls to SetAutoHideBehavior() and SetAlignment() to Shelf instead
of ShelfLayoutManager.
* Add Shelf::GetVisibilityState() and Shelf::GetAutoHideState() and prefer
using them to accessing ShelfLayoutManager directly.
* Remove ShelfLayoutManager::GetAutoHideBehavior().
* Rename variables mis-named "shelf" to shelf_widget, shelf_layout_manager, etc.
so they match their actual types.
No functional changes.
BUG= 615502
TEST=ash_unittests
Committed: https://crrev.com/cf8b648fcece89a78eec21726a1aa48667778dbe
Cr-Commit-Position: refs/heads/master@{#397214}
Total comments: 34
Total comments: 6
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+529 lines, -550 lines) |
Patch |
 |
M |
ash/root_window_controller_unittest.cc
|
View
|
1
2
3
4
5
6
|
4 chunks |
+7 lines, -13 lines |
0 comments
|
Download
|
 |
M |
ash/screen_util_unittest.cc
|
View
|
1
2
3
|
4 chunks |
+7 lines, -13 lines |
0 comments
|
Download
|
 |
M |
ash/shelf/shelf.h
|
View
|
1
2
3
4
5
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ash/shelf/shelf.cc
|
View
|
1
2
3
4
5
6
|
1 chunk |
+8 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ash/shelf/shelf_layout_manager.h
|
View
|
1
2
3
4
5
6
|
4 chunks |
+5 lines, -14 lines |
0 comments
|
Download
|
 |
M |
ash/shelf/shelf_layout_manager.cc
|
View
|
1
2
3
4
5
6
|
23 chunks |
+66 lines, -60 lines |
0 comments
|
Download
|
 |
M |
ash/shelf/shelf_layout_manager_unittest.cc
|
View
|
1
2
3
4
5
6
|
85 chunks |
+312 lines, -301 lines |
0 comments
|
Download
|
 |
M |
ash/shelf/shelf_tooltip_manager_unittest.cc
|
View
|
1
2
3
|
1 chunk |
+3 lines, -4 lines |
0 comments
|
Download
|
 |
M |
ash/shelf/shelf_view_unittest.cc
|
View
|
1
2
3
|
2 chunks |
+2 lines, -5 lines |
0 comments
|
Download
|
 |
M |
ash/shelf/shelf_widget_unittest.cc
|
View
|
1
2
3
|
5 chunks |
+8 lines, -7 lines |
0 comments
|
Download
|
 |
M |
ash/system/toast/toast_manager_unittest.cc
|
View
|
|
2 chunks |
+2 lines, -3 lines |
0 comments
|
Download
|
 |
M |
ash/system/tray/system_tray_unittest.cc
|
View
|
1
2
3
|
7 chunks |
+9 lines, -13 lines |
0 comments
|
Download
|
 |
M |
ash/system/user/tray_user_unittest.cc
|
View
|
1
2
3
4
5
6
7
|
3 chunks |
+7 lines, -16 lines |
0 comments
|
Download
|
 |
M |
ash/system/web_notification/web_notification_tray_unittest.cc
|
View
|
1
2
3
4
5
6
|
6 chunks |
+15 lines, -17 lines |
0 comments
|
Download
|
 |
M |
ash/wm/immersive_fullscreen_controller_unittest.cc
|
View
|
1
2
3
4
5
6
|
2 chunks |
+9 lines, -10 lines |
0 comments
|
Download
|
 |
M |
ash/wm/maximize_mode/maximize_mode_window_manager_unittest.cc
|
View
|
1
2
3
4
5
6
|
6 chunks |
+13 lines, -16 lines |
0 comments
|
Download
|
 |
M |
ash/wm/panels/panel_layout_manager_unittest.cc
|
View
|
1
2
3
4
5
6
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
ash/wm/panels/panel_window_resizer_unittest.cc
|
View
|
1
2
3
4
5
6
|
1 chunk |
+3 lines, -6 lines |
0 comments
|
Download
|
 |
M |
ash/wm/workspace/workspace_layout_manager_unittest.cc
|
View
|
1
2
3
4
5
6
|
3 chunks |
+8 lines, -8 lines |
0 comments
|
Download
|
 |
M |
ash/wm/workspace/workspace_window_resizer_unittest.cc
|
View
|
1
2
3
4
5
6
|
8 chunks |
+10 lines, -12 lines |
0 comments
|
Download
|
 |
M |
ash/wm/workspace_controller_unittest.cc
|
View
|
1
2
3
4
5
6
|
15 chunks |
+30 lines, -31 lines |
0 comments
|
Download
|
Total messages: 20 (8 generated)
|