OSDN Git Service

Support double tap in the Browser.
authorGrace Kloba <klobag@google.com>
Tue, 28 Jul 2009 20:12:34 +0000 (13:12 -0700)
committerGrace Kloba <klobag@google.com>
Tue, 28 Jul 2009 20:16:52 +0000 (13:16 -0700)
commita50885e6d06f2cfdee3bf43b1fb367bca126c5dc
treee312893b45cde389c39823364c0e033c3787eead
parente4cc103c22e426fd5cc249143a6c90ebc3389906
Support double tap in the Browser.

Add api to get the left edge of the block from the current (x,y). The code
was copied from Cary's change.
Todo:
1.need some tuning as we can see from nytimes.com that some times the left
  edge is not correct.
2.currently nav cache is not up to date while loading. This means the left
  edge may not be correct during loading.
3.if (x,y) is over an edit text box, or image, it should return the left
  edge of it. Currently it is not working as expected.

Added the code to store the extra scale factor, so that back/forward history
works correctly.
WebKit/android/WebCoreSupport/FrameLoaderClientAndroid.cpp
WebKit/android/jni/WebHistory.h
WebKit/android/jni/WebViewCore.cpp
WebKit/android/jni/WebViewCore.h
WebKit/android/nav/WebView.cpp