• pkotwicz's avatar
    Simplify HomeCardGestureManager::UpdateScrollState() · eaf47024
    pkotwicz authored
    This CL:
    - Prevents HomeCardGestureManager from calling OnGestureProgressed() with
      |from_state| == |to_state|
      - This fixes the minimized home card's opacity being incorrectly set when
        dragging down from the minimized state
    - Removes unnecessary |HomeCardGestureManager::last_state_|
    
    BUG=409666
    TEST=HomeCardGestureManagerTest.*
    
    Review URL: https://codereview.chromium.org/529813002
    
    Cr-Commit-Position: refs/heads/master@{#293232}
    eaf47024
home_card_gesture_manager.h 2.2 KB