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

darin darin at 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Sat Sep 26 06:50:24 UTC 2009


The following commit has been merged in the debian/unstable branch:
commit f06bc841e297201718c3d97e00f253ba39c3ff8e
Author: darin <darin at 268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Wed Oct 16 23:49:50 2002 +0000

    	Fixed anomalies with plugin positioning caused by my switch to
    	NSViewFocusDidChangeNotification. Turns out that is not sent during
    	live resize, but we need things to work during live resize.
    
            * Plugins.subproj/WebBaseNetscapePluginView.m:
            (-[WebBaseNetscapePluginView start]): Register for changes in the
    	bounds and frame of all superviews again, instead of using
    	NSViewFocusDidChangeNotification.
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@2346 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/WebKit/ChangeLog b/WebKit/ChangeLog
index 763bb58..029e3e3 100644
--- a/WebKit/ChangeLog
+++ b/WebKit/ChangeLog
@@ -1,3 +1,14 @@
+2002-10-16  Darin Adler  <darin at apple.com>
+
+	Fixed anomalies with plugin positioning caused by my switch to
+	NSViewFocusDidChangeNotification. Turns out that is not sent during
+	live resize, but we need things to work during live resize.
+
+        * Plugins.subproj/WebBaseNetscapePluginView.m:
+        (-[WebBaseNetscapePluginView start]): Register for changes in the
+	bounds and frame of all superviews again, instead of using
+	NSViewFocusDidChangeNotification.
+
 2002-10-16  Richard Williamson  <rjw at apple.com>
 
         Fixed 2969367.  Ensure layout happens before doing check
diff --git a/WebKit/ChangeLog-2002-12-03 b/WebKit/ChangeLog-2002-12-03
index 763bb58..029e3e3 100644
--- a/WebKit/ChangeLog-2002-12-03
+++ b/WebKit/ChangeLog-2002-12-03
@@ -1,3 +1,14 @@
+2002-10-16  Darin Adler  <darin at apple.com>
+
+	Fixed anomalies with plugin positioning caused by my switch to
+	NSViewFocusDidChangeNotification. Turns out that is not sent during
+	live resize, but we need things to work during live resize.
+
+        * Plugins.subproj/WebBaseNetscapePluginView.m:
+        (-[WebBaseNetscapePluginView start]): Register for changes in the
+	bounds and frame of all superviews again, instead of using
+	NSViewFocusDidChangeNotification.
+
 2002-10-16  Richard Williamson  <rjw at apple.com>
 
         Fixed 2969367.  Ensure layout happens before doing check
diff --git a/WebKit/Plugins.subproj/WebBaseNetscapePluginView.m b/WebKit/Plugins.subproj/WebBaseNetscapePluginView.m
index 439857e..54ab799 100644
--- a/WebKit/Plugins.subproj/WebBaseNetscapePluginView.m
+++ b/WebKit/Plugins.subproj/WebBaseNetscapePluginView.m
@@ -449,8 +449,13 @@
     
     NSWindow *theWindow = [self window];
     NSNotificationCenter *notificationCenter = [NSNotificationCenter defaultCenter];
-    [notificationCenter addObserver:self selector:@selector(viewHasMoved:) 
-        name:NSViewFocusDidChangeNotification object:self];
+    NSView *view;
+    for (view = self; view; view = [view superview]) {
+        [notificationCenter addObserver:self selector:@selector(viewHasMoved:) 
+            name:NSViewFrameDidChangeNotification object:view];
+        [notificationCenter addObserver:self selector:@selector(viewHasMoved:) 
+            name:NSViewBoundsDidChangeNotification object:view];
+    }
     [notificationCenter addObserver:self selector:@selector(windowWillClose:)
         name:NSWindowWillCloseNotification object:theWindow];
     [notificationCenter addObserver:self selector:@selector(windowBecameKey:) 

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list