|
Creating multi profile animations for switching users and teleporting of windows.
This CL is adding window animations for the following multi profile related actions:
- switching the user
- teleporting of windows
- window ownership changes
The user switch animation is as follows:
Time: ----->
Screen: A X B
- The desktop cross dissolves between A -> B
- User A's windows fade out between A -> X
- User B's windows get faded in between X -> B
- User A's shelf gets hidden between A -> X
- The user icon in the system tray as well as the shelf configuration changes at 'X'.
- User B's shelf gets faded on between X -> B
So at time X the user would see a half way cross dissolved desktop and shared windows (if there are any).
Since there is no guarantee that there is an animation going from A -> X an additional timer was used to kick off the second animation portion.
Further gotchas:
- Animations of the individual shelf items were in the past incorrectly performed with another animator which produced a lag for some components (e.g. the activation bar lagged and / or there was a gap between icons in the tray and the screen border when playing the animation fast.
- Wallpaper loading was so delayed that the animations started after all other animations were done.
BUG= 336639, 307279
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=247517
Total comments: 4
Total comments: 4
Total comments: 4
Total comments: 1
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+485 lines, -102 lines) |
Patch |
 |
M |
ash/default_user_wallpaper_delegate.h
|
View
|
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ash/default_user_wallpaper_delegate.cc
|
View
|
|
1 chunk |
+8 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ash/desktop_background/desktop_background_view.cc
|
View
|
|
1 chunk |
+6 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ash/desktop_background/user_wallpaper_delegate.h
|
View
|
|
1 chunk |
+7 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ash/shelf/shelf_layout_manager.h
|
View
|
|
2 chunks |
+7 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ash/shelf/shelf_layout_manager.cc
|
View
|
1
|
3 chunks |
+11 lines, -3 lines |
0 comments
|
Download
|
 |
M |
ash/shelf/shelf_view.cc
|
View
|
1
|
2 chunks |
+28 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ash/system/tray/default_system_tray_delegate.h
|
View
|
1
2
3
4
5
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
ash/system/tray/default_system_tray_delegate.cc
|
View
|
1
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ash/system/tray/system_tray_delegate.h
|
View
|
1
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/chromeos/background/ash_user_wallpaper_delegate.cc
|
View
|
|
3 chunks |
+15 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/chromeos/extensions/wallpaper_private_api_unittest.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/chromeos/login/wallpaper_manager.cc
|
View
|
1
2
3
|
3 chunks |
+11 lines, -4 lines |
1 comment
|
Download
|
 |
M |
chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc
|
View
|
1
|
6 chunks |
+5 lines, -15 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/ash/multi_user/multi_user_notification_blocker_chromeos_unittest.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos.h
|
View
|
1
2
3
4
5
|
6 chunks |
+45 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos.cc
|
View
|
1
2
3
4
5
|
14 chunks |
+245 lines, -68 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos_unittest.cc
|
View
|
1
2
3
4
5
|
4 chunks |
+46 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/ash/system_tray_delegate_chromeos.cc
|
View
|
1
|
2 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/ash/system_tray_delegate_win.cc
|
View
|
1
2
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/ash/user_wallpaper_delegate_win.cc
|
View
|
1
2
3
4
|
1 chunk |
+10 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ui/views/animation/bounds_animator.h
|
View
|
1
2
3
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ui/views/corewm/window_animations.h
|
View
|
1
2
3
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ui/views/corewm/window_animations.cc
|
View
|
1
2
3
|
4 chunks |
+12 lines, -5 lines |
0 comments
|
Download
|
Total messages: 19 (0 generated)
|