Reviewed by Adele.
authordarin <darin@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 10 Feb 2005 21:29:32 +0000 (21:29 +0000)
committerdarin <darin@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 10 Feb 2005 21:29:32 +0000 (21:29 +0000)
        - fixed <rdar://problem/3974988> WebHTMLView drops scroll wheel events when deltas are 0

        * kwq/WebCoreScrollView.m: (-[WebCoreScrollView autoforwardsScrollWheelEvents]): Added, for Tiger only.
        For Tiger, removed the override of scrollWheel:, which doesn't work quite right because of how the
        delta attributes return all 0 for newfangled scrolling events from the new trackpads.

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

WebCore/ChangeLog-2005-08-23
WebCore/kwq/WebCoreScrollView.m

index 445d05bd49ce379e762d952886913ace084e0939..6f9f66738fb994335273d5ab1afd63020ac70fed 100644 (file)
@@ -1,3 +1,13 @@
+2005-02-10  Darin Adler  <darin@apple.com>
+
+        Reviewed by Adele.
+
+        - fixed <rdar://problem/3974988> WebHTMLView drops scroll wheel events when deltas are 0
+
+        * kwq/WebCoreScrollView.m: (-[WebCoreScrollView autoforwardsScrollWheelEvents]): Added, for Tiger only.
+        For Tiger, removed the override of scrollWheel:, which doesn't work quite right because of how the
+        delta attributes return all 0 for newfangled scrolling events from the new trackpads.
+
 2005-02-10  David Harrison  <harrison@apple.com>
 
         Reviewed by Darin.
index 8b811ad58d77b46c68a54c1f246947030ea89624..0a8a14eb20b2c8995708bc694cbb185dbbb00be7 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2003 Apple Computer, Inc.  All rights reserved.
+ * Copyright (C) 2005 Apple Computer, Inc.  All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
  * modification, are permitted provided that the following conditions
 
 @implementation WebCoreScrollView
 
+#if !BUILDING_ON_PANTHER
+
+- (BOOL)autoforwardsScrollWheelEvents
+{
+    return YES;
+}
+
+#else
+
 - (void)scrollWheel:(NSEvent *)event
 {
     NSPoint origin = [[self contentView] bounds].origin;
@@ -53,4 +62,6 @@
     }
 }
 
+#endif
+
 @end