OSDN Git Service

return the scrollable layer's content bounds
authorCary Clark <cary@android.com>
Fri, 7 Jan 2011 21:05:17 +0000 (16:05 -0500)
committerCary Clark <cary@android.com>
Mon, 10 Jan 2011 14:08:30 +0000 (09:08 -0500)
commitf81c672a4f5c06621000a6df0984cde689397d94
treecbba932d9409071b7469b91566364454e9f3f151
parent3678ca1cd96eedaf858dcf0218fca1a8d49ad077
return the scrollable layer's content bounds

Compute and return the scrollable layer's bounds in
content space and return it to the java side.

The layer's bounds is used to determine if the
select text touch point is close to the edge and
should invoke scrolling.

Also, added a null check to selectBestAt

Requires a companion change in frameworks/base

bug:3191699
bug:3334943

Change-Id: Id066997f56da59f37350c14a4cc43fe4a7ce7312
WebKit/android/nav/WebView.cpp