|
Implemented system tray UI for new account management.
* Added new mode in TrayUser for the case when new account management is
enabled (--new-profile-management flag). In fact TrayUser is now supporting
four different modes, depending of states of |multi-profiles| flag and
|new-profile-management| flag.
* Massive refactoring were made in tray_user.cc to isolate UserCardView
creation in separate class and make code more clear.
* UI for the cases when new account management is disabled remained without
changes.
Known issues:
* There are no tests for new UI. Hopefully old UI is covered by tests already.
* New UI is not accessible yet.
* Stub implementation of UserAccountsDelegate is used for backend.
BUG= 344844
TEST=manually
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=262959
Total comments: 16
Total comments: 26
Total comments: 25
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+2014 lines, -1099 lines) |
Patch |
 |
M |
ash/ash.gyp
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+14 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ash/ash_strings.grd
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+12 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ash/session_state_delegate.h
|
View
|
1
2
|
1 chunk |
+6 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ash/session_state_delegate_stub.h
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ash/session_state_delegate_stub.cc
|
View
|
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ash/shell/shell_delegate_impl.h
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
ash/shell/shell_delegate_impl.cc
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ash/shell_delegate.h
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ash/system/bluetooth/tray_bluetooth.cc
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
ash/system/chromeos/label_tray_view.cc
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
ash/system/drive/tray_drive.cc
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+4 lines, -2 lines |
0 comments
|
Download
|
 |
M |
ash/system/ime/tray_ime.cc
|
View
|
1
2
3
4
5
6
7
8
|
3 chunks |
+8 lines, -3 lines |
0 comments
|
Download
|
 |
M |
ash/system/tray/default_system_tray_delegate.h
|
View
|
1
2
3
4
5
6
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ash/system/tray/default_system_tray_delegate.cc
|
View
|
1
2
3
4
5
6
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ash/system/tray/hover_highlight_view.h
|
View
|
1
2
3
4
5
6
7
8
|
2 chunks |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ash/system/tray/hover_highlight_view.cc
|
View
|
1
2
3
4
5
6
7
8
|
2 chunks |
+11 lines, -10 lines |
0 comments
|
Download
|
 |
M |
ash/system/tray/system_tray_delegate.h
|
View
|
1
2
3
4
5
6
|
2 chunks |
+9 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ash/system/tray/tray_constants.h
|
View
|
1
2
3
4
5
6
7
8
|
2 chunks |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ash/system/tray/tray_constants.cc
|
View
|
1
2
3
4
|
2 chunks |
+5 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ash/system/tray/tray_details_view.cc
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+18 lines, -13 lines |
0 comments
|
Download
|
 |
A |
ash/system/user/accounts_detailed_view.h
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+70 lines, -0 lines |
0 comments
|
Download
|
 |
A |
ash/system/user/accounts_detailed_view.cc
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+227 lines, -0 lines |
0 comments
|
Download
|
 |
A |
ash/system/user/button_from_view.h
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+55 lines, -0 lines |
0 comments
|
Download
|
 |
A |
ash/system/user/button_from_view.cc
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+71 lines, -0 lines |
0 comments
|
Download
|
 |
A |
ash/system/user/config.h
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+22 lines, -0 lines |
0 comments
|
Download
|
 |
A |
ash/system/user/config.cc
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+36 lines, -0 lines |
0 comments
|
Download
|
 |
A |
ash/system/user/rounded_image_view.h
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+55 lines, -0 lines |
0 comments
|
Download
|
 |
A |
ash/system/user/rounded_image_view.cc
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+79 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ash/system/user/tray_user.h
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
ash/system/user/tray_user.cc
|
View
|
1
2
3
4
5
6
7
8
|
7 chunks |
+16 lines, -1069 lines |
0 comments
|
Download
|
 |
A |
ash/system/user/user_accounts_delegate.h
|
View
|
1
2
3
|
1 chunk |
+69 lines, -0 lines |
0 comments
|
Download
|
 |
A |
ash/system/user/user_accounts_delegate.cc
|
View
|
|
1 chunk |
+27 lines, -0 lines |
0 comments
|
Download
|
 |
A |
ash/system/user/user_card_view.h
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+44 lines, -0 lines |
0 comments
|
Download
|
 |
A |
ash/system/user/user_card_view.cc
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+382 lines, -0 lines |
0 comments
|
Download
|
 |
A |
ash/system/user/user_view.h
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+94 lines, -0 lines |
0 comments
|
Download
|
 |
A |
ash/system/user/user_view.cc
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+490 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ash/test/test_session_state_delegate.h
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ash/test/test_session_state_delegate.cc
|
View
|
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ash/test/test_shell_delegate.h
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
ash/test/test_shell_delegate.cc
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/ash/chrome_shell_delegate.h
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/ash/chrome_shell_delegate.cc
|
View
|
1
2
3
4
5
6
7
8
|
2 chunks |
+8 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/ash/session_state_delegate_chromeos.h
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/ash/session_state_delegate_chromeos.cc
|
View
|
|
1 chunk |
+8 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/ash/session_state_delegate_views.h
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/ash/session_state_delegate_views.cc
|
View
|
|
1 chunk |
+6 lines, -0 lines |
0 comments
|
Download
|
 |
A |
chrome/browser/ui/ash/stub_user_accounts_delegate.h
|
View
|
1
2
3
|
1 chunk |
+34 lines, -0 lines |
0 comments
|
Download
|
 |
A |
chrome/browser/ui/ash/stub_user_accounts_delegate.cc
|
View
|
1
|
1 chunk |
+52 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/ash/system_tray_delegate_chromeos.h
|
View
|
1
2
3
4
5
6
|
3 chunks |
+5 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/ash/system_tray_delegate_chromeos.cc
|
View
|
1
2
3
4
5
6
7
8
|
2 chunks |
+21 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/ash/system_tray_delegate_win.cc
|
View
|
1
2
3
4
5
6
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/chrome_browser_ui.gypi
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
Total messages: 22 (0 generated)
|