[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 08:42:17 UTC 2009
The following commit has been merged in the debian/unstable branch:
commit 6b392a899b251c96b4447fdf40e17ef0870ea7f2
Author: darin <darin at 268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date: Thu May 27 08:18:56 2004 +0000
* WebView.subproj/WebFrameView.m: (-[WebFrameView _scrollVerticallyBy:]): Added comment.
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@6705 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/WebKit/ChangeLog b/WebKit/ChangeLog
index f513d0f..fd9ab30 100644
--- a/WebKit/ChangeLog
+++ b/WebKit/ChangeLog
@@ -1,5 +1,9 @@
2004-05-27 Darin Adler <darin at apple.com>
+ * WebView.subproj/WebFrameView.m: (-[WebFrameView _scrollVerticallyBy:]): Added comment.
+
+2004-05-27 Darin Adler <darin at apple.com>
+
Reviewed by Maciej.
- fixed <rdar://problem/3667948>: (REGRESSION: Page Down key goes down two pages when smooth scrolling is on)
diff --git a/WebKit/WebView.subproj/WebFrameView.m b/WebKit/WebView.subproj/WebFrameView.m
index dbf583b..e656b10 100644
--- a/WebKit/WebView.subproj/WebFrameView.m
+++ b/WebKit/WebView.subproj/WebFrameView.m
@@ -139,6 +139,11 @@ enum {
- (BOOL)_scrollVerticallyBy: (float)delta
{
+ // This method uses the secret method _scrollTo on NSClipView.
+ // It does that because it needs to know definitively whether scrolling was
+ // done or not to help implement the "scroll parent if we are at the limit" feature.
+ // In the presence of smooth scrolling, there's no easy way to tell if the method
+ // did any scrolling or not with the public API.
NSPoint point = [[self _contentView] bounds].origin;
point.y += delta;
return [[self _contentView] _scrollTo:&point];
--
WebKit Debian packaging
More information about the Pkg-webkit-commits
mailing list