[SCM] WebKit Debian packaging branch, debian/unstable, updated. debian/1.1.15-1-40151-g37bb677

cblu cblu at 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Sat Sep 26 07:35:37 UTC 2009


The following commit has been merged in the debian/unstable branch:
commit 4b52ec326e456185341b051999dfe4400ebb8116
Author: cblu <cblu at 268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Wed Apr 9 18:01:04 2003 +0000

    	Fixed: 3223022 - Plug-in content bleeds onto frontmost tab
    
            Reviewed by darin.
    
            * Plugins.subproj/WebBaseNetscapePluginView.m:
            (-[WebBaseNetscapePluginView viewDidMoveToWindow]): Explicitly call setWindow when the plug-in view is moved out of the window so it is clipped out of sight.
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@4051 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/WebKit/ChangeLog b/WebKit/ChangeLog
index acfac15..32deedb 100644
--- a/WebKit/ChangeLog
+++ b/WebKit/ChangeLog
@@ -1,3 +1,12 @@
+2003-04-09  Chris Blumenberg  <cblu at apple.com>
+
+	Fixed: 3223022 - Plug-in content bleeds onto frontmost tab
+
+        Reviewed by darin.
+
+        * Plugins.subproj/WebBaseNetscapePluginView.m:
+        (-[WebBaseNetscapePluginView viewDidMoveToWindow]): Explicitly call setWindow when the plug-in view is moved out of the window so it is clipped out of sight.
+
 2003-04-08  Trey Matteson  <trey at apple.com>
 
 	3221355 document is numb to clicks after going back
diff --git a/WebKit/Plugins.subproj/WebBaseNetscapePluginView.m b/WebKit/Plugins.subproj/WebBaseNetscapePluginView.m
index 06b916e..a126996 100644
--- a/WebKit/Plugins.subproj/WebBaseNetscapePluginView.m
+++ b/WebKit/Plugins.subproj/WebBaseNetscapePluginView.m
@@ -624,7 +624,7 @@ typedef struct {
     }
     
     PortState portState = [self saveAndSetPortState];
-
+    
     // Make sure we don't call NPP_HandleEvent while we're inside NPP_SetWindow.
     // We probably don't want more general reentrancy protection; we are really
     // protecting only against this one case, which actually comes up when
@@ -1001,6 +1001,11 @@ typedef struct {
         [self start];
         [self restartNullEvents];
         [self addWindowObservers];
+    } else if ([[self controller] hostWindow]) {
+        // View moved out of an actual window, but still has a host window.
+        // Call setWindow to explicitly "clip out" the plug-in from sight.
+        // FIXME: It would be nice to do this where we call stopNullEvents in viewWillMoveToWindow.
+        [self setWindow];
     }
 }
 

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list