OSDN Git Service

Scroll the RenderLayer during touch events.
authorPatrick Scott <phanna@android.com>
Tue, 22 Feb 2011 16:20:56 +0000 (11:20 -0500)
committerPatrick Scott <phanna@android.com>
Tue, 22 Feb 2011 16:20:56 +0000 (11:20 -0500)
commitb0c9a2b4033eca931163e8223d7eaa8889337144
tree41b25d823cd2bad82c86882e1c0fe5d252ec6d6e
parente248a68aa5529c1e5faba09893cf079b0657d898
Scroll the RenderLayer during touch events.

Keep track of the owning layer for each LayerAndroid. No longer need to unadjust
the node bounds since the node will be scrolled into view.

Bug: 3442108
Change-Id: I7c9604d347af326ccfb86e6d3f2b95b7ce1b97c1
12 files changed:
WebCore/platform/graphics/android/GraphicsLayerAndroid.cpp
WebCore/platform/graphics/android/LayerAndroid.cpp
WebCore/platform/graphics/android/LayerAndroid.h
WebCore/platform/graphics/android/ScrollableLayerAndroid.h
WebKit/android/jni/WebViewCore.cpp
WebKit/android/jni/WebViewCore.h
WebKit/android/nav/CachedFrame.cpp
WebKit/android/nav/CachedFrame.h
WebKit/android/nav/CachedLayer.cpp
WebKit/android/nav/CachedLayer.h
WebKit/android/nav/CachedRoot.cpp
WebKit/android/nav/WebView.cpp