summaryrefslogtreecommitdiffstats
path: root/WebCore/page/EventHandler.cpp
diff options
context:
space:
mode:
authorSteve Block <steveblock@google.com>2010-02-02 18:27:44 +0000
committerSteve Block <steveblock@google.com>2010-02-04 15:06:59 +0000
commit4247478b67d5b291c805d149cd09b6ac249d007d (patch)
tree4f3684826531f058ac03e83cc499d8de0826ac23 /WebCore/page/EventHandler.cpp
parentcae449b1dff813bce2972d779eb121f74e5d3014 (diff)
downloadexternal_webkit-4247478b67d5b291c805d149cd09b6ac249d007d.zip
external_webkit-4247478b67d5b291c805d149cd09b6ac249d007d.tar.gz
external_webkit-4247478b67d5b291c805d149cd09b6ac249d007d.tar.bz2
Merge webkit.org at r54127 : Resolve conflicts for handleTouchEvent
On Android, handleTouchEvent returns int, rather than bool. Change-Id: I8ba16342eac7ccca1c7df3fa36b52ca8192a69b5
Diffstat (limited to 'WebCore/page/EventHandler.cpp')
-rw-r--r--WebCore/page/EventHandler.cpp8
1 files changed, 1 insertions, 7 deletions
diff --git a/WebCore/page/EventHandler.cpp b/WebCore/page/EventHandler.cpp
index 7d45285..26d7261 100644
--- a/WebCore/page/EventHandler.cpp
+++ b/WebCore/page/EventHandler.cpp
@@ -2555,7 +2555,6 @@ void EventHandler::updateLastScrollbarUnderMouse(Scrollbar* scrollbar, bool setL
}
#if ENABLE(TOUCH_EVENTS)
-<<<<<<< HEAD
#if PLATFORM(ANDROID)
// TODO(benm): On Android we return an int back to Java to signify whether the default actions
// for longpress/doubletap in the Browser should be prevented. I think that before upstreaming
@@ -2564,9 +2563,6 @@ int EventHandler::handleTouchEvent(const PlatformTouchEvent& event)
#else
bool EventHandler::handleTouchEvent(const PlatformTouchEvent& event)
#endif
-=======
-bool EventHandler::handleTouchEvent(const PlatformTouchEvent& event)
->>>>>>> webkit.org at r54127
{
RefPtr<TouchList> touches = TouchList::create();
RefPtr<TouchList> pressedTouches = TouchList::create();
@@ -2649,13 +2645,13 @@ bool EventHandler::handleTouchEvent(const PlatformTouchEvent& event)
}
if (!m_touchEventTarget)
-<<<<<<< HEAD
#if PLATFORM(ANDROID)
return 0;
#else
return false;
#endif
+<<<<<<< HEAD
bool defaultPrevented = false;
#if PLATFORM(ANDROID)
// TODO (benm): We should be able to remove this prior to upstreaming once Java side refactorings to make
@@ -2664,8 +2660,6 @@ bool EventHandler::handleTouchEvent(const PlatformTouchEvent& event)
bool doubleTapPrevented = false;
#endif
=======
- return false;
-
bool defaultPrevented = false;
>>>>>>> webkit.org at r54127