• Tetsui Ohkubo's avatar
    Fix IME and Stylus tray text colors. · c2c3e93e
    Tetsui Ohkubo authored
    Previously, TrayPopupItemStyle colors are just switched by the flag
    --enable-features=SystemTrayUnified. However, we had some other tray
    bubbles (PaletteTray and ImeMenuTray) that use TrayPopupItemStyle,
    and in these places we don't want the colors to be changed.
    
    To prevent this, we add |use_unified_theme| flag to TrayPopupItemStyle,
    and explicitly set false in PaletteTray and ImeMenuTray.
    
    TEST=manual
    BUG=847319
    
    Change-Id: I183f9b9ddaca1adf2063b7e40bef9438c451ae48
    Reviewed-on: https://chromium-review.googlesource.com/1075844Reviewed-by: default avatarYoshiki Iguchi <yoshiki@chromium.org>
    Commit-Queue: Tetsui Ohkubo <tetsui@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#563167}
    c2c3e93e
tray_popup_item_style.h 2.84 KB