[webkit-gtk] WK2: WebKitWebViel scrolling

Carlos Garcia Campos cgarcia at igalia.com
Mon Jul 30 03:13:30 PDT 2012


El lun, 30-07-2012 a las 10:08 +0200, Julian Scheel escribió:
[...]
> 
> Ok, thanks for the details. I agree with you that it probably would the
> bigger hassle to deal with the gtk issues than having an own kinetic
> scrolling implementation.
> So is anyone already working on this? Otherwise I might take a look at
> it. Although it will probably take some time before I am enough into the
> WebKitGTK structure to really do it.

There's a cross-platform scroll animator implementation in WebCore. I
don't know the details, I think it implements smooth scrolling by
default, but you can take a look at that code as a start point. 

Source/WebCore/platform/ScrollAnimatorNone.cpp

In this case None means the file contains cross-platform code not
attached to any particular platform or port. If we need to extend it for
anything specific to gtk port, we can add a new class in gtk dir
deriving from this one to add our own stuff like blackberry and mac
ports do.

> Any hints on existing code I could orientate at are welcome (c:
> 
> -Julian
> 
> 

-- 
Carlos Garcia Campos
http://pgp.rediris.es:11371/pks/lookup?op=get&search=0xF3D322D0EC4582C3
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://lists.webkit.org/pipermail/webkit-gtk/attachments/20120730/ede2fea8/attachment-0001.sig>


More information about the webkit-gtk mailing list