diff options
author | Simon Hausmann <simon.hausmann@nokia.com> | 2012-07-24 17:03:20 +0200 |
---|---|---|
committer | Simon Hausmann <simon.hausmann@nokia.com> | 2012-07-24 17:03:20 +0200 |
commit | 08d4a74d56ca431877819fc4566e27eafe150342 (patch) | |
tree | ebd8530838ab390c015c6b7e659a22852c1663ae /Source/WebKit/chromium/src/WebViewImpl.cpp | |
parent | 1de6cd4794bbd5a52189384189a2b8df1848b39b (diff) | |
download | qtwebkit-08d4a74d56ca431877819fc4566e27eafe150342.tar.gz |
Imported WebKit commit 0fbd41c4e13f5a190faf160bf993eee614e6e18e (http://svn.webkit.org/repository/webkit/trunk@123477)
New snapshot that adapts to latest Qt API changes
Diffstat (limited to 'Source/WebKit/chromium/src/WebViewImpl.cpp')
-rw-r--r-- | Source/WebKit/chromium/src/WebViewImpl.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/WebKit/chromium/src/WebViewImpl.cpp b/Source/WebKit/chromium/src/WebViewImpl.cpp index 0d5f25a51..6a253f8e3 100644 --- a/Source/WebKit/chromium/src/WebViewImpl.cpp +++ b/Source/WebKit/chromium/src/WebViewImpl.cpp @@ -1108,10 +1108,10 @@ void WebViewImpl::numberOfWheelEventHandlersChanged(unsigned numberOfWheelHandle m_client->numberOfWheelEventHandlersChanged(numberOfWheelHandlers); } -void WebViewImpl::numberOfTouchEventHandlersChanged(unsigned numberOfTouchHandlers) +void WebViewImpl::hasTouchEventHandlers(bool hasTouchHandlers) { if (m_client) - m_client->numberOfTouchEventHandlersChanged(numberOfTouchHandlers); + m_client->hasTouchEventHandlers(hasTouchHandlers); } #if !OS(DARWIN) @@ -2100,11 +2100,11 @@ WebTextInputType WebViewImpl::textInputType() if (textarea->readOnly() || textarea->disabled()) return WebTextInputTypeNone; - return WebTextInputTypeText; + return WebTextInputTypeTextArea; } if (node->shouldUseInputMethod()) - return WebTextInputTypeText; + return WebTextInputTypeContentEditable; return WebTextInputTypeNone; } |