Skip to content
  • mitz@apple.com's avatar
    Made the full-screen video HUD appear when playback stops, such as when · e0ff32d3
    mitz@apple.com authored
    the end of the video is reached.
    
    Reviewed by Eric Carlson.
    
    * WebView/WebVideoFullscreenHUDWindowController.h: Cleaned up.
    * WebView/WebVideoFullscreenHUDWindowController.mm:
    (-[WebVideoFullscreenHUDWindowController scheduleTimeUpdate]): Updated
    for the renaming of -updateRate to -updatePlayButton.
    (-[WebVideoFullscreenHUDWindowController updatePlayButton]): Renamed
    -updateRate to this.
    (-[WebVideoFullscreenHUDWindowController updateRate]): This method now
    responds to changes to the playback rate by updating the play button
    and showing or hiding the HUD as necessary.
    (-[WebVideoFullscreenHUDWindowController togglePlaying:]): Now only
    toggles playing. UI updates are driven by -updateRate being called.
    (-[WebVideoFullscreenHUDWindowController playing]): Cleaned up.
    
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@50636 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    e0ff32d3