Bug 77068

Summary: [chromium] Add WebCore::FlingAnimator class for Android native-feel scrolling
Product: WebKit Reporter: Tien-Ren Chen <trchen>
Component: New BugsAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: abarth, jamesr, nduca
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch jamesr: review-

Tien-Ren Chen
Reported 2012-01-25 20:16:11 PST
Add WebCore::FlingAnimator class for Android native-feel scrolling
Attachments
Patch (9.52 KB, patch)
2012-01-25 20:22 PST, Tien-Ren Chen
jamesr: review-
Tien-Ren Chen
Comment 1 2012-01-25 20:22:13 PST
James Robinson
Comment 2 2012-02-21 20:55:24 PST
Comment on attachment 124057 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=124057&action=review I think that attempting to call straight into Java from WebKit is a bad approach (not to mention it won't compile on all of our configs). Better would be to provide WebKit API for the embedder to control the fling animation curves and then call into that. > Source/WebCore/platform/chromium/FlingAnimatorAndroid.cpp:29 > +#include "base/android/jni_android.h" you can't #include files from base/ inside WebKit. This won't even compile > Source/WebCore/platform/chromium/FlingAnimatorAndroid.cpp:56 > + JNIEnv* env = AttachCurrentThread(); calling into Java straight from WebKit? Ick. How do you plan to test this?
Nat Duca
Comment 3 2012-02-22 14:18:05 PST
Tian-ren, have you managed to sync up with wjmaclean? I believe he's got a crystalizing plan on how to cleanly abstract all this animation stuff.
Tien-Ren Chen
Comment 4 2012-02-22 14:56:13 PST
(In reply to comment #3) > Tian-ren, have you managed to sync up with wjmaclean? I believe he's got a crystalizing plan on how to cleanly abstract all this animation stuff. Not yet. I'm still working on the scrollbar changes. I'll follow up later on.
Adam Barth
Comment 5 2012-08-28 10:46:05 PDT
*** This bug has been marked as a duplicate of bug 93514 ***
Note You need to log in before you can comment on or make changes to this bug.