• minch's avatar
    dark_mode: Remove UnifiedSystemTrayView::CreateBackground. · c1737f4e
    minch authored
    Call sites of UnifiedSystemTrayView::CreateBackground have been removed
    at crrev.com/c/2015577. The background of system tray now is controlled
    inside TrayBubbleView by UnifiedSystemTrayView::GetBackgroundColor().
    
    SwitchAccessBackButtonView doesn't inherit from TrayBubbleView, it
    should not use the related logic. And its color is actually controlled
    inside SwitchAccessBackButtonView::OnPaint.
    
    Bug: 1107056
    Change-Id: I13a8ac764fa6fbaa1dede9bdc7b3f6fedfe95b14
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2430323Reviewed-by: default avatarXiyuan Xia <xiyuan@chromium.org>
    Commit-Queue: Min Chen <minch@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#810483}
    c1737f4e
unified_system_tray_view.h 7.46 KB