[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:12:47 UTC 2009


The following commit has been merged in the debian/unstable branch:
commit 3df205f444f0bd4d183b768566301f2648e043c2
Author: darin <darin at 268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Wed May 15 00:08:52 2002 +0000

    	* WebView.subproj/IFWebView.mm: (-[IFWebView initWithFrame:]):
    	Remove code that makes us the first responder. That's up to the higher levels,
    	not the web view.
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@1148 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/WebKit/ChangeLog b/WebKit/ChangeLog
index a51d472..64add42 100644
--- a/WebKit/ChangeLog
+++ b/WebKit/ChangeLog
@@ -1,3 +1,9 @@
+2002-05-14  Darin Adler  <darin at apple.com>
+
+	* WebView.subproj/IFWebView.mm: (-[IFWebView initWithFrame:]):
+	Remove code that makes us the first responder. That's up to the higher levels,
+	not the web view.
+
 2002-05-14  John Sullivan  <sullivan at apple.com>
 
 	* History.subproj/IFURIEntry.h:
@@ -15,7 +21,7 @@
 	fields comment, creationDate, modificationDate
 	* WebKit.pbproj/project.pbxproj: Updated for removed file.
 
-2002-05-13  System Administrator  <cblu at apple.com>
+2002-05-13  Chris Blumenberg  <cblu at apple.com>
 
 	Added support for setting the content policy on the location change handler
 	and data source at any time instead of depending on an immediate response.
@@ -45,7 +51,6 @@
 
 2002-05-13  Chris Blumenberg  <cblu at apple.com>
 
-
 	* WebView.subproj/IFBaseWebController.mm:
 	(-[IFBaseWebController URLPolicyForURL:]):
 	
diff --git a/WebKit/ChangeLog-2002-12-03 b/WebKit/ChangeLog-2002-12-03
index a51d472..64add42 100644
--- a/WebKit/ChangeLog-2002-12-03
+++ b/WebKit/ChangeLog-2002-12-03
@@ -1,3 +1,9 @@
+2002-05-14  Darin Adler  <darin at apple.com>
+
+	* WebView.subproj/IFWebView.mm: (-[IFWebView initWithFrame:]):
+	Remove code that makes us the first responder. That's up to the higher levels,
+	not the web view.
+
 2002-05-14  John Sullivan  <sullivan at apple.com>
 
 	* History.subproj/IFURIEntry.h:
@@ -15,7 +21,7 @@
 	fields comment, creationDate, modificationDate
 	* WebKit.pbproj/project.pbxproj: Updated for removed file.
 
-2002-05-13  System Administrator  <cblu at apple.com>
+2002-05-13  Chris Blumenberg  <cblu at apple.com>
 
 	Added support for setting the content policy on the location change handler
 	and data source at any time instead of depending on an immediate response.
@@ -45,7 +51,6 @@
 
 2002-05-13  Chris Blumenberg  <cblu at apple.com>
 
-
 	* WebView.subproj/IFBaseWebController.mm:
 	(-[IFBaseWebController URLPolicyForURL:]):
 	
diff --git a/WebKit/WebView.subproj/IFWebView.mm b/WebKit/WebView.subproj/IFWebView.mm
index cf1262d..54650dc 100644
--- a/WebKit/WebView.subproj/IFWebView.mm
+++ b/WebKit/WebView.subproj/IFWebView.mm
@@ -35,8 +35,6 @@
     _private->needsLayout = YES;
 
     [[NSNotificationCenter defaultCenter] addObserver: self selector: @selector(windowResized:) name: NSWindowDidResizeNotification object: nil];
-    [[NSNotificationCenter defaultCenter] addObserver: self selector: @selector(windowDidBecomeMain:) name: NSWindowDidBecomeMainNotification object: nil];
-    [[NSNotificationCenter defaultCenter] addObserver: self selector: @selector(windowDidBecomeKey:) name: NSWindowDidBecomeKeyNotification object: nil];
         
     return self;
 }
@@ -395,18 +393,6 @@
 }
 
 
-- (void)windowDidBecomeMain: (NSNotification *)notification
-{
-    [[self window] makeFirstResponder: self];
-}
-
-
-- (void)windowDidBecomeKey: (NSNotification *)notification
-{
-    [[self window] makeFirstResponder: self];
-}
-
-
 - (void)mouseUp: (NSEvent *)event
 {
     int button, state;
@@ -465,6 +451,8 @@
     }
 }
 
+// FIXME: This needs to use the mouse moved notification rather than the mouse moved event so
+// it works even when this view is not in the responder chain.
 - (void)mouseMoved: (NSEvent *)event
 {
     NSPoint p = [event locationInWindow];
diff --git a/WebKit/WebView.subproj/WebFrameView.m b/WebKit/WebView.subproj/WebFrameView.m
index cf1262d..54650dc 100644
--- a/WebKit/WebView.subproj/WebFrameView.m
+++ b/WebKit/WebView.subproj/WebFrameView.m
@@ -35,8 +35,6 @@
     _private->needsLayout = YES;
 
     [[NSNotificationCenter defaultCenter] addObserver: self selector: @selector(windowResized:) name: NSWindowDidResizeNotification object: nil];
-    [[NSNotificationCenter defaultCenter] addObserver: self selector: @selector(windowDidBecomeMain:) name: NSWindowDidBecomeMainNotification object: nil];
-    [[NSNotificationCenter defaultCenter] addObserver: self selector: @selector(windowDidBecomeKey:) name: NSWindowDidBecomeKeyNotification object: nil];
         
     return self;
 }
@@ -395,18 +393,6 @@
 }
 
 
-- (void)windowDidBecomeMain: (NSNotification *)notification
-{
-    [[self window] makeFirstResponder: self];
-}
-
-
-- (void)windowDidBecomeKey: (NSNotification *)notification
-{
-    [[self window] makeFirstResponder: self];
-}
-
-
 - (void)mouseUp: (NSEvent *)event
 {
     int button, state;
@@ -465,6 +451,8 @@
     }
 }
 
+// FIXME: This needs to use the mouse moved notification rather than the mouse moved event so
+// it works even when this view is not in the responder chain.
 - (void)mouseMoved: (NSEvent *)event
 {
     NSPoint p = [event locationInWindow];

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list