• minch's avatar
    dark_mode: Clean up TrayPopupItemStyle. · 34d54086
    minch authored
    CONNECTED and SUB_HEADER are actually never be used while
    |use_unified_theme_| is false. This cl goes to remove the unnecessary
    logic on |use_unified_theme_|.
    
    May do more refactoring of TrayPopupItemStyle after the simplification.
    
    TEST=IME tray and palette tray do not change visually
    (these are the only cases where use_unified_theme_ == false is used.)
    
    Bug: 982950
    Change-Id: I71885bbff4b178cf2907e92bc539d0cdf650ce10
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1767095
    Commit-Queue: Min Chen <minch@chromium.org>
    Reviewed-by: default avatarTetsui Ohkubo <tetsui@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#690108}
    34d54086
tray_popup_item_style.cc 4.27 KB