diff options
author | Leon Scroggins <scroggo@google.com> | 2010-05-14 15:38:53 -0400 |
---|---|---|
committer | Leon Scroggins <scroggo@google.com> | 2010-09-10 12:55:11 -0400 |
commit | 3e63d9b33b753ca86d0765d1b3d711114ba9e34f (patch) | |
tree | 8dba0e0e578259d8c8a7a63086d1368b77b8298f /WebKit/android/jni/WebCoreFrameBridge.h | |
parent | 4d0c6794412a7e92fb14e428744c1ebeb306dc56 (diff) | |
download | external_webkit-3e63d9b33b753ca86d0765d1b3d711114ba9e34f.zip external_webkit-3e63d9b33b753ca86d0765d1b3d711114ba9e34f.tar.gz external_webkit-3e63d9b33b753ca86d0765d1b3d711114ba9e34f.tar.bz2 |
Allow WebKit to scroll selection on screen.
Requires a change to frameworks/base
Bug 2679411
Bug 2659028
Change-Id: I482cefadc24c620c6d07cbce44acc216bdb9b8df
Diffstat (limited to 'WebKit/android/jni/WebCoreFrameBridge.h')
-rw-r--r-- | WebKit/android/jni/WebCoreFrameBridge.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/WebKit/android/jni/WebCoreFrameBridge.h b/WebKit/android/jni/WebCoreFrameBridge.h index 07bdc41..2b323e1 100644 --- a/WebKit/android/jni/WebCoreFrameBridge.h +++ b/WebKit/android/jni/WebCoreFrameBridge.h @@ -110,16 +110,16 @@ class WebFrame : public WebCoreRefObject { float density() const; /** - * When the user initiates a click (via trackball, enter-press, or touch), - * we set mUserInitiatedClick to true. If a load happens due to this click, + * When the user initiates an action (via trackball, key-press, or touch), + * we set mUserInitiatedAction to true. If a load happens due to this click, * then we ask the application if it wants to override * the load. Otherwise, we attempt to load the resource internally. * We also check it to determine whether or not to allow webkit to request * a scroll. If it was user initated, the scroll is allowed. */ - void setUserInitiatedClick(bool userInitiatedClick) { mUserInitiatedClick = userInitiatedClick; } + void setUserInitiatedAction(bool userInitiatedAction) { mUserInitiatedAction = userInitiatedAction; } - bool userInitiatedClick() { return mUserInitiatedClick; } + bool userInitiatedAction() { return mUserInitiatedAction; } WebCore::Page* page() const { return mPage; } @@ -128,7 +128,7 @@ private: JavaBrowserFrame* mJavaFrame; WebCore::Page* mPage; WTF::String mUserAgent; - bool mUserInitiatedClick; + bool mUserInitiatedAction; }; } // namespace android |