• Tetsui Ohkubo's avatar
    Unified: Change feature pod toggle behavior. · 567cebb9
    Tetsui Ohkubo authored
    This CL changes feature pod toggle behavior as follows:
    
    Current behavior:
    The feature was enabled. -> The feature is disabled.
    The feature was disabled. -> The feature is enabled.
    
    Expected behavior (This CL):
    The feature was enabled. -> The feature is disabled.
    The feature was disabled. -> The feature is enabled &
                                 transition to the detailed view.
    
    As currently we only have three feature pod buttons which are togglable
    & having a detailed view, so it changes behavior of these buttons:
    * Network
    * Bluetooth
    * Quiet Mode
    
    TEST=manual
    BUG=856028
    
    Change-Id: I860bd9501bc651d74d982130d22b5006e0fba6e0
    Reviewed-on: https://chromium-review.googlesource.com/1116503Reviewed-by: default avatarYoshiki Iguchi <yoshiki@chromium.org>
    Commit-Queue: Tetsui Ohkubo <tetsui@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#571390}
    567cebb9
unified_system_tray_controller.h 6.53 KB