[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:48:58 UTC 2009


The following commit has been merged in the debian/unstable branch:
commit d9f5aad2e74f8f1189ea5e4d4c6a91d32e69db28
Author: darin <darin at 268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Fri Oct 11 20:33:01 2002 +0000

    	Apply a simplified technique I learned while working on the Favorites button
    	class in the browser code.
    
            * Plugins.subproj/WebBaseNetscapePluginView.m:
            (-[WebBaseNetscapePluginView start]): Use the NSViewFocusDidChangeNotification
    	to track the plugin rectangles instead of the NSViewFrameDidChangeNotification
    	and NSViewBoundsDidChangeNotification on all the superviews.
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@2306 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/WebKit/ChangeLog b/WebKit/ChangeLog
index 5760c37..d7d7bca 100644
--- a/WebKit/ChangeLog
+++ b/WebKit/ChangeLog
@@ -1,3 +1,13 @@
+2002-10-11  Darin Adler  <darin at apple.com>
+
+	Apply a simplified technique I learned while working on the Favorites button
+	class in the browser code.
+
+        * Plugins.subproj/WebBaseNetscapePluginView.m:
+        (-[WebBaseNetscapePluginView start]): Use the NSViewFocusDidChangeNotification
+	to track the plugin rectangles instead of the NSViewFrameDidChangeNotification
+	and NSViewBoundsDidChangeNotification on all the superviews.
+
 2002-10-11  John Sullivan  <sullivan at apple.com>
 
         * Resources/url_icon.tiff: new generic URL icon -- no more @!
diff --git a/WebKit/ChangeLog-2002-12-03 b/WebKit/ChangeLog-2002-12-03
index 5760c37..d7d7bca 100644
--- a/WebKit/ChangeLog-2002-12-03
+++ b/WebKit/ChangeLog-2002-12-03
@@ -1,3 +1,13 @@
+2002-10-11  Darin Adler  <darin at apple.com>
+
+	Apply a simplified technique I learned while working on the Favorites button
+	class in the browser code.
+
+        * Plugins.subproj/WebBaseNetscapePluginView.m:
+        (-[WebBaseNetscapePluginView start]): Use the NSViewFocusDidChangeNotification
+	to track the plugin rectangles instead of the NSViewFrameDidChangeNotification
+	and NSViewBoundsDidChangeNotification on all the superviews.
+
 2002-10-11  John Sullivan  <sullivan at apple.com>
 
         * Resources/url_icon.tiff: new generic URL icon -- no more @!
diff --git a/WebKit/Plugins.subproj/WebBaseNetscapePluginView.m b/WebKit/Plugins.subproj/WebBaseNetscapePluginView.m
index 5415a9e..096ddf8 100644
--- a/WebKit/Plugins.subproj/WebBaseNetscapePluginView.m
+++ b/WebKit/Plugins.subproj/WebBaseNetscapePluginView.m
@@ -449,15 +449,10 @@
     
     NSWindow *theWindow = [self window];
     NSNotificationCenter *notificationCenter = [NSNotificationCenter defaultCenter];
-    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(viewHasMoved:) 
+        name:NSViewFocusDidChangeNotification object:self];
     [notificationCenter addObserver:self selector:@selector(windowWillClose:)
-            name:NSWindowWillCloseNotification object:theWindow];
+        name:NSWindowWillCloseNotification object:theWindow];
     [notificationCenter addObserver:self selector:@selector(windowBecameKey:) 
         name:NSWindowDidBecomeKeyNotification object:theWindow];
     [notificationCenter addObserver:self selector:@selector(windowResignedKey:) 
@@ -663,7 +658,7 @@
 
 - (void)viewDidMoveToWindow
 {
-    if (![self window]){
+    if (![self window]) {
         [self stop];
     }
     
@@ -675,8 +670,6 @@
 -(void)viewHasMoved:(NSNotification *)notification
 {
     [self setUpWindowAndPort];
-
-    // reset the tracking rect
     [self resetTrackingRect];
 }
 

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list