|
|
Make LogoutButtonTray a regular View
Currently, LogoutButtonTray is a TrayBackgroundView, however, it does
not use most of its functionality (e.g., drawing and animating
background, handling bubbles, drawing separators and focus rings). This
CL makes LogoutButtonTray directly inherit from View and just adds the
padding using TrayContainer class.
This CL also removes shelf alignment caching in TrayBackgroundView,
TrayContainer, and StatusAreaWidgetDelegate and cleaned up some related
shelf alignment code.
BUG= 698134, 635963
TEST=StatusAreaWidgetTest.Basic in ash_unittests
Review-Url: https://codereview.chromium.org/2807693002
Cr-Commit-Position: refs/heads/master@{#465918}
Committed: https://chromium.googlesource.com/chromium/src/+/e6704a0c2b29585fab489399ba0396104cff7d85
Total comments: 16
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+309 lines, -382 lines) |
Patch |
 |
M |
ash/BUILD.gn
|
View
|
1
2
3
4
5
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ash/shelf/shelf_layout_manager_unittest.cc
|
View
|
1
2
3
4
5
|
6 chunks |
+11 lines, -10 lines |
0 comments
|
Download
|
 |
M |
ash/shelf/shelf_widget.cc
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
ash/system/date/tray_system_info.h
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
ash/system/date/tray_system_info.cc
|
View
|
1
2
3
4
|
3 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
ash/system/ime_menu/ime_menu_tray.cc
|
View
|
1
2
3
4
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
ash/system/network/tray_vpn.h
|
View
|
1
2
|
1 chunk |
+0 lines, -4 lines |
0 comments
|
Download
|
 |
M |
ash/system/network/tray_vpn.cc
|
View
|
1
2
3
4
|
3 chunks |
+8 lines, -18 lines |
0 comments
|
Download
|
 |
M |
ash/system/overview/overview_button_tray.h
|
View
|
1
2
3
4
|
1 chunk |
+0 lines, -5 lines |
0 comments
|
Download
|
 |
M |
ash/system/overview/overview_button_tray.cc
|
View
|
1
2
3
4
|
3 chunks |
+9 lines, -20 lines |
0 comments
|
Download
|
 |
M |
ash/system/palette/palette_tray.h
|
View
|
1
2
3
4
|
2 chunks |
+0 lines, -2 lines |
0 comments
|
Download
|
 |
M |
ash/system/palette/palette_tray.cc
|
View
|
1
2
3
4
|
3 chunks |
+2 lines, -8 lines |
0 comments
|
Download
|
 |
M |
ash/system/session/logout_button_tray.h
|
View
|
1
2
|
1 chunk |
+18 lines, -18 lines |
0 comments
|
Download
|
 |
M |
ash/system/session/logout_button_tray.cc
|
View
|
1
2
3
4
5
|
3 chunks |
+38 lines, -57 lines |
0 comments
|
Download
|
 |
M |
ash/system/status_area_widget.h
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
ash/system/status_area_widget.cc
|
View
|
1
2
3
4
|
5 chunks |
+11 lines, -14 lines |
0 comments
|
Download
|
 |
M |
ash/system/status_area_widget_delegate.h
|
View
|
1
2
|
3 chunks |
+3 lines, -6 lines |
0 comments
|
Download
|
 |
M |
ash/system/status_area_widget_delegate.cc
|
View
|
1
2
3
4
5
|
4 chunks |
+6 lines, -5 lines |
0 comments
|
Download
|
 |
M |
ash/system/tray/system_tray.h
|
View
|
1
2
3
4
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
ash/system/tray/system_tray.cc
|
View
|
1
2
3
4
|
5 chunks |
+8 lines, -14 lines |
0 comments
|
Download
|
 |
M |
ash/system/tray/system_tray_item.h
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
ash/system/tray/system_tray_item.cc
|
View
|
1
2
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
ash/system/tray/tray_background_view.h
|
View
|
1
2
|
5 chunks |
+8 lines, -45 lines |
0 comments
|
Download
|
 |
M |
ash/system/tray/tray_background_view.cc
|
View
|
1
2
3
4
5
|
12 chunks |
+21 lines, -96 lines |
0 comments
|
Download
|
 |
A |
ash/system/tray/tray_container.h
|
View
|
1
2
3
|
1 chunk |
+45 lines, -0 lines |
0 comments
|
Download
|
 |
A |
ash/system/tray/tray_container.cc
|
View
|
1
2
3
|
1 chunk |
+80 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ash/system/tray/tray_item_view.cc
|
View
|
1
2
|
3 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
ash/system/user/tray_user.h
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
ash/system/user/tray_user.cc
|
View
|
1
2
3
4
|
3 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
ash/system/virtual_keyboard/virtual_keyboard_tray.h
|
View
|
1
2
|
2 chunks |
+0 lines, -5 lines |
0 comments
|
Download
|
 |
M |
ash/system/virtual_keyboard/virtual_keyboard_tray.cc
|
View
|
1
2
|
4 chunks |
+9 lines, -19 lines |
0 comments
|
Download
|
 |
M |
ash/system/web_notification/web_notification_tray.h
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
ash/system/web_notification/web_notification_tray.cc
|
View
|
1
2
3
4
|
7 chunks |
+8 lines, -13 lines |
0 comments
|
Download
|
Total messages: 39 (31 generated)
|