Reviewed by Adele
authorbeidson <beidson@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 15 Nov 2006 19:46:50 +0000 (19:46 +0000)
committerbeidson <beidson@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 15 Nov 2006 19:46:50 +0000 (19:46 +0000)
        <rdar://problem/4838729> - Replace mistakenly removed SPI

        * WebView/WebHTMLView.m:
        (-[WebHTMLView _handleAutoscrollForMouseDragged:]):
        * WebView/WebHTMLViewPrivate.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@17788 268f45cc-cd09-0410-ab3c-d52691b4dbfc

WebKit/ChangeLog
WebKit/WebView/WebHTMLView.m
WebKit/WebView/WebHTMLViewPrivate.h

index 8f732435e555cca8f162a3dd5619f1b82ece453a..b3f820a33fe22231864571eb37d6a1dec9e622a7 100644 (file)
@@ -1,3 +1,13 @@
+2006-11-15  Brady Eidson  <beidson@apple.com>
+
+        Reviewed by Adele
+
+        <rdar://problem/4838729> - Replace mistakenly removed SPI
+
+        * WebView/WebHTMLView.m:
+        (-[WebHTMLView _handleAutoscrollForMouseDragged:]):
+        * WebView/WebHTMLViewPrivate.h:
+
 2006-11-15  Anders Carlsson  <acarlsson@apple.com>
 
         Reviewed by Adele.
index 7901812bfb4b4178210b495cd92daf4bd2c192a1..3dbf6c0e56c31c846a0266e64ec257d4f65b77ae 100644 (file)
@@ -1496,6 +1496,12 @@ static WebHTMLView *lastHitView = nil;
     return startedDrag;
 }
 
+- (void)_handleAutoscrollForMouseDragged:(NSEvent *)event 
+{ 
+    [self autoscroll:event]; 
+    [self _startAutoscrollTimer:event]; 
+} 
+
 - (BOOL)_mayStartDragAtEventLocation:(NSPoint)location
 {
     WebHTMLView *topHTMLView = [self _topHTMLView];
index d46bdfd98b9b38859d3eebcc44b25209f985167b..3b71d361eceaa92086520c73b975ebe17711cfec 100644 (file)
@@ -70,6 +70,7 @@
 
 - (NSImage *)_dragImageForLinkElement:(NSDictionary *)element;
 - (BOOL)_startDraggingImage:(NSImage *)dragImage at:(NSPoint)dragLoc operation:(NSDragOperation)op event:(NSEvent *)event sourceIsDHTML:(BOOL)flag DHTMLWroteData:(BOOL)dhtmlWroteData;
+- (void)_handleAutoscrollForMouseDragged:(NSEvent *)event; 
 - (BOOL)_mayStartDragAtEventLocation:(NSPoint)location;
 
 - (WebPluginController *)_pluginController;