Skip to content
  • cblu's avatar
    Fixed: 3079134 - Throttle plug-ins while in background · a9f64e93
    cblu authored
            * Plugins.subproj/WebBaseNetscapePluginView.h:
            * Plugins.subproj/WebBaseNetscapePluginView.m:
            (-[WebBaseNetscapePluginView sendNullEvent]): new
            (-[WebBaseNetscapePluginView stopNullEvents]): stops timer
            (-[WebBaseNetscapePluginView restartNullEvents]): stops timer if there is one, and starts a new one based on window activation state
            (-[WebBaseNetscapePluginView start]): call restartNullEvents
            (-[WebBaseNetscapePluginView stop]): call stopNullEvents
            (-[WebBaseNetscapePluginView windowBecameKey:]): call restartNullEvents
            (-[WebBaseNetscapePluginView windowResignedKey:]): call restartNullEvents
            (-[WebBaseNetscapePluginView windowDidMiniaturize:]): call stopNullEvents
            (-[WebBaseNetscapePluginView windowDidDeminiaturize:]): call restartNullEvents
            * Plugins.subproj/WebNetscapePluginNullEventSender.h: Removed. No need for another class, use a timer.
            * Plugins.subproj/WebNetscapePluginNullEventSender.m: Removed. No need for another class, use a timer.
            * WebKit.pbproj/project.pbxproj:
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@2797 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    a9f64e93