Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(113)

Issue 2910773002: cros: CustomFrameViewAsh avatar icon from a window prop (Closed)

Created:
3 years, 6 months ago by xiyuan
Modified:
3 years, 6 months ago
Reviewers:
James Cook, sky
CC:
chromium-reviews, sadrul, aboxhall+watch_chromium.org, nektar+watch_chromium.org, yuzo+watch_chromium.org, dougt+watch_chromium.org, dmazzoni+watch_chromium.org, dtseng+watch_chromium.org, kalyank, je_julie
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

cros: CustomFrameViewAsh avatar icon from a window prop - Add a kAvatarIconKey window property for avatar icon; - CustomFrameViewAsh observes the property to update its avatar icon in HeaderView; - MultiUserWindowManagerChromeOS push avatar changes when teleporting a window; - Remove the deprecated SessionStateDelegate; BUG=648964 TEST=MultiUserWindowManagerChromeOSTest.TeleportedWindowAvatarProperty Review-Url: https://codereview.chromium.org/2910773002 Cr-Commit-Position: refs/heads/master@{#475907} Committed: https://chromium.googlesource.com/chromium/src/+/317fdbe13422752c4a2ba6eb44027ae3fb2bd1e5

Patch Set 1 #

Patch Set 2 : rebase #

Total comments: 12

Patch Set 3 : add test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+166 lines, -388 lines) Patch
M ash/BUILD.gn View 1 1 chunk +0 lines, -1 line 0 comments Download
M ash/aura/shell_port_classic.h View 1 2 chunks +1 line, -1 line 0 comments Download
M ash/aura/shell_port_classic.cc View 1 3 chunks +0 lines, -6 lines 0 comments Download
M ash/frame/custom_frame_view_ash.h View 1 2 3 chunks +6 lines, -5 lines 0 comments Download
M ash/frame/custom_frame_view_ash.cc View 1 2 6 chunks +49 lines, -12 lines 0 comments Download
M ash/frame/custom_frame_view_ash_unittest.cc View 1 4 chunks +6 lines, -14 lines 0 comments Download
M ash/frame/header_view.h View 1 2 2 chunks +6 lines, -1 line 0 comments Download
M ash/frame/header_view.cc View 1 3 chunks +4 lines, -11 lines 0 comments Download
M ash/metrics/user_metrics_recorder.cc View 1 chunk +0 lines, -1 line 0 comments Download
M ash/mus/bridge/shell_port_mash.h View 1 3 chunks +1 line, -7 lines 0 comments Download
M ash/mus/bridge/shell_port_mash.cc View 1 4 chunks +1 line, -41 lines 0 comments Download
M ash/mus/non_client_frame_controller.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M ash/mus/shell_delegate_mus.h View 1 chunk +0 lines, -1 line 0 comments Download
M ash/mus/shell_delegate_mus.cc View 3 chunks +0 lines, -33 lines 0 comments Download
M ash/mus/window_manager.h View 1 2 2 chunks +3 lines, -3 lines 0 comments Download
M ash/mus/window_manager.cc View 1 2 chunks +2 lines, -2 lines 0 comments Download
D ash/session/session_state_delegate.h View 1 chunk +0 lines, -34 lines 0 comments Download
M ash/shelf/shelf_locking_manager_unittest.cc View 1 chunk +0 lines, -1 line 0 comments Download
M ash/shell.h View 1 3 chunks +0 lines, -6 lines 0 comments Download
M ash/shell.cc View 1 2 chunks +0 lines, -2 lines 0 comments Download
M ash/shell/shell_delegate_impl.h View 1 chunk +0 lines, -1 line 0 comments Download
M ash/shell/shell_delegate_impl.cc View 3 chunks +0 lines, -26 lines 0 comments Download
M ash/shell_delegate.h View 2 chunks +0 lines, -4 lines 0 comments Download
M ash/shell_port.h View 1 2 chunks +0 lines, -3 lines 0 comments Download
M ash/shell_port.cc View 1 chunk +0 lines, -1 line 0 comments Download
M ash/system/bluetooth/tray_bluetooth.cc View 1 1 chunk +5 lines, -1 line 0 comments Download
M ash/system/ime/tray_ime_chromeos.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M ash/system/tray_accessibility.cc View 1 1 chunk +3 lines, -1 line 0 comments Download
M ash/test/BUILD.gn View 1 chunk +0 lines, -2 lines 0 comments Download
M ash/test/ash_test_helper.h View 1 3 chunks +1 line, -3 lines 0 comments Download
M ash/test/ash_test_helper.cc View 1 4 chunks +3 lines, -10 lines 0 comments Download
M ash/test/shell_test_api.h View 1 2 chunks +0 lines, -2 lines 0 comments Download
M ash/test/shell_test_api.cc View 1 2 chunks +2 lines, -6 lines 0 comments Download
D ash/test/test_session_state_delegate.h View 1 chunk +0 lines, -36 lines 0 comments Download
D ash/test/test_session_state_delegate.cc View 1 chunk +0 lines, -27 lines 0 comments Download
M ash/test/test_shell_delegate.h View 2 chunks +0 lines, -2 lines 0 comments Download
M ash/test/test_shell_delegate.cc View 2 chunks +0 lines, -6 lines 0 comments Download
M ash/wm/maximize_mode/maximize_mode_window_manager.cc View 1 1 chunk +0 lines, -1 line 0 comments Download
M ash/wm/system_modal_container_layout_manager_unittest.cc View 1 chunk +0 lines, -1 line 0 comments Download
M ash/wm/workspace/workspace_layout_manager_keyboard_unittest.cc View 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/ui/BUILD.gn View 1 chunk +0 lines, -2 lines 0 comments Download
M chrome/browser/ui/ash/chrome_shell_delegate.h View 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/ui/ash/chrome_shell_delegate.cc View 1 3 chunks +1 line, -5 lines 0 comments Download
M chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos.cc View 1 3 chunks +23 lines, -0 lines 0 comments Download
M chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos_unittest.cc View 1 2 3 chunks +31 lines, -3 lines 0 comments Download
D chrome/browser/ui/ash/session_state_delegate_chromeos.h View 1 chunk +0 lines, -24 lines 0 comments Download
D chrome/browser/ui/ash/session_state_delegate_chromeos.cc View 1 chunk +0 lines, -30 lines 0 comments Download
M chrome/browser/ui/ash/session_util.h View 2 chunks +5 lines, -0 lines 0 comments Download
M chrome/browser/ui/ash/session_util.cc View 2 chunks +6 lines, -5 lines 0 comments Download
M ui/aura/client/aura_constants.h View 1 chunk +4 lines, -0 lines 0 comments Download
M ui/aura/client/aura_constants.cc View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 25 (18 generated)
xiyuan
Last CL to fully retire SessionStateDelegate.
3 years, 6 months ago (2017-05-30 20:44:11 UTC) #7
James Cook
Hooray! It's nice to see the delegate going away. LGTM with nits. https://codereview.chromium.org/2910773002/diff/20001/ash/frame/custom_frame_view_ash.cc File ash/frame/custom_frame_view_ash.cc ...
3 years, 6 months ago (2017-05-30 21:27:15 UTC) #10
xiyuan
https://codereview.chromium.org/2910773002/diff/20001/ash/frame/custom_frame_view_ash.cc File ash/frame/custom_frame_view_ash.cc (right): https://codereview.chromium.org/2910773002/diff/20001/ash/frame/custom_frame_view_ash.cc#newcode262 ash/frame/custom_frame_view_ash.cc:262: avatar_observer_(new AvatarObserver(frame_, header_view_)) { On 2017/05/30 21:27:15, James Cook ...
3 years, 6 months ago (2017-05-30 22:44:15 UTC) #12
xiyuan
+sky for owner stamp on ui/aura/client/aura_constants.* This adds a kAvatarIconKey window property key for an ...
3 years, 6 months ago (2017-05-30 22:46:43 UTC) #14
sky
LGTM
3 years, 6 months ago (2017-05-30 23:21:06 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2910773002/40001
3 years, 6 months ago (2017-05-31 14:55:24 UTC) #22
commit-bot: I haz the power
3 years, 6 months ago (2017-05-31 15:02:19 UTC) #25
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/317fdbe13422752c4a2ba6eb4402...

Powered by Google App Engine
This is Rietveld 408576698