• Tetsui Ohkubo's avatar
    Replace SystemTrayItem by DetailedViewDelegate in TrayDetailedView · 0669d105
    Tetsui Ohkubo authored
    Previously TrayDetailedView directly depended on SystemTrayItem. It did
    not work with UnifiedSystemTray.
    
    In this CL, bubble related actions from TrayDetailedView will be
    delegated to DetailedViewDelegate.
    This CL also includes SystemTrayDetailedViewDelegate, which implements
    the default behavior for old SystemTray.
    
    In upcoming CLs DetailedViewDelegate implementation for
    UnifiedSystemTray will be added.
    
    Design doc: go/cros-qs-restyling (See "detailed view" section)
    
    TEST=ash_unittests
    BUG=835733
    
    Change-Id: I54074335f982ab4e1d07abdb88c5347e6c1d7ff1
    Reviewed-on: https://chromium-review.googlesource.com/1068560Reviewed-by: default avatarSteven Bennetts <stevenjb@chromium.org>
    Commit-Queue: Tetsui Ohkubo <tetsui@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#561713}
    0669d105
tray_bluetooth.h 1.58 KB