Diff
Modified: trunk/Source/WebCore/ChangeLog (107831 => 107832)
--- trunk/Source/WebCore/ChangeLog 2012-02-15 20:03:27 UTC (rev 107831)
+++ trunk/Source/WebCore/ChangeLog 2012-02-15 20:21:15 UTC (rev 107832)
@@ -1,3 +1,37 @@
+2012-02-15 Sadrul Habib Chowdhury <[email protected]>
+
+ Notify ChromeClient when touch-event handlers are installed/removed.
+ https://bugs.webkit.org/show_bug.cgi?id=77440
+
+ Reviewed by Darin Fisher and Ryosuke Niwa.
+
+ Keep a count of the number of touch-event handlers and notify the
+ embedder when the count changes. Depending on the count, the embedder
+ can decide whether or not to dispatch touch events to webkit.
+
+ * dom/Document.cpp:
+ (WebCore::Document::Document):
+ (WebCore::Document::didAddTouchEventHandler):
+ (WebCore):
+ (WebCore::Document::didRemoveTouchEventHandler):
+ * dom/Document.h:
+ (WebCore::Document::touchEventHandlerCount):
+ (Document):
+ * dom/Node.cpp:
+ (WebCore::isTouchEventType):
+ (WebCore::tryAddEventListener):
+ (WebCore::tryRemoveEventListener):
+ * loader/EmptyClients.h:
+ (WebCore::EmptyChromeClient::numTouchEventHandlersChanged):
+ * page/ChromeClient.h:
+ (ChromeClient):
+ * page/Frame.cpp:
+ (WebCore::Frame::notifyChromeClientWheelEventHandlerCountChanged):
+ (WebCore::Frame::notifyChromeClientTouchEventHandlerCountChanged):
+ (WebCore):
+ * page/Frame.h:
+ (Frame):
+
2012-02-15 Eric Carlson <[email protected]>
Unset the active flag when TextTrackCues go away
Modified: trunk/Source/WebCore/dom/Document.cpp (107831 => 107832)
--- trunk/Source/WebCore/dom/Document.cpp 2012-02-15 20:03:27 UTC (rev 107831)
+++ trunk/Source/WebCore/dom/Document.cpp 2012-02-15 20:21:15 UTC (rev 107832)
@@ -437,6 +437,7 @@
, m_writeRecursionIsTooDeep(false)
, m_writeRecursionDepth(0)
, m_wheelEventHandlerCount(0)
+ , m_touchEventHandlerCount(0)
, m_pendingTasksTimer(this, &Document::pendingTasksTimerFired)
{
m_document = this;
@@ -5410,6 +5411,23 @@
wheelEventHandlerCountChanged(this);
}
+void Document::didAddTouchEventHandler()
+{
+ ++m_touchEventHandlerCount;
+ Frame* mainFrame = page() ? page()->mainFrame() : 0;
+ if (mainFrame)
+ mainFrame->notifyChromeClientTouchEventHandlerCountChanged();
+}
+
+void Document::didRemoveTouchEventHandler()
+{
+ ASSERT(m_touchEventHandlerCount > 0);
+ --m_touchEventHandlerCount;
+ Frame* mainFrame = page() ? page()->mainFrame() : 0;
+ if (mainFrame)
+ mainFrame->notifyChromeClientTouchEventHandlerCountChanged();
+}
+
bool Document::visualUpdatesAllowed() const
{
return !settings()
Modified: trunk/Source/WebCore/dom/Document.h (107831 => 107832)
--- trunk/Source/WebCore/dom/Document.h 2012-02-15 20:03:27 UTC (rev 107831)
+++ trunk/Source/WebCore/dom/Document.h 2012-02-15 20:21:15 UTC (rev 107832)
@@ -1113,6 +1113,10 @@
void didAddWheelEventHandler();
void didRemoveWheelEventHandler();
+ unsigned touchEventHandlerCount() const { return m_touchEventHandlerCount; }
+ void didAddTouchEventHandler();
+ void didRemoveTouchEventHandler();
+
bool visualUpdatesAllowed() const;
#if ENABLE(MICRODATA)
@@ -1449,6 +1453,7 @@
unsigned m_writeRecursionDepth;
unsigned m_wheelEventHandlerCount;
+ unsigned m_touchEventHandlerCount;
#if ENABLE(REQUEST_ANIMATION_FRAME)
RefPtr<ScriptedAnimationController> m_scriptedAnimationController;
Modified: trunk/Source/WebCore/dom/Node.cpp (107831 => 107832)
--- trunk/Source/WebCore/dom/Node.cpp 2012-02-15 20:03:27 UTC (rev 107831)
+++ trunk/Source/WebCore/dom/Node.cpp 2012-02-15 20:21:15 UTC (rev 107832)
@@ -2479,6 +2479,11 @@
}
#endif
+static inline bool isTouchEventType(const AtomicString& eventType)
+{
+ return eventType == eventNames().touchstartEvent || eventType == eventNames().touchmoveEvent || eventType == eventNames().touchendEvent || eventType == eventNames().touchcancelEvent;
+}
+
static inline bool tryAddEventListener(Node* targetNode, const AtomicString& eventType, PassRefPtr<EventListener> listener, bool useCapture)
{
if (!targetNode->EventTarget::addEventListener(eventType, listener, useCapture))
@@ -2488,6 +2493,8 @@
document->addListenerTypeIfNeeded(eventType);
if (eventType == eventNames().mousewheelEvent)
document->didAddWheelEventHandler();
+ else if (isTouchEventType(eventType))
+ document->didAddTouchEventHandler();
}
return true;
@@ -2537,6 +2544,8 @@
if (Document* document = targetNode->document()) {
if (eventType == eventNames().mousewheelEvent)
document->didRemoveWheelEventHandler();
+ else if (isTouchEventType(eventType))
+ document->didRemoveTouchEventHandler();
}
return true;
Modified: trunk/Source/WebCore/loader/EmptyClients.h (107831 => 107832)
--- trunk/Source/WebCore/loader/EmptyClients.h 2012-02-15 20:03:27 UTC (rev 107831)
+++ trunk/Source/WebCore/loader/EmptyClients.h 2012-02-15 20:21:15 UTC (rev 107832)
@@ -233,7 +233,8 @@
virtual void needTouchEvents(bool) { }
#endif
- virtual void numWheelEventHandlersChanged(unsigned) { }
+ virtual void numWheelEventHandlersChanged(unsigned) OVERRIDE { }
+ virtual void numTouchEventHandlersChanged(unsigned) OVERRIDE { }
virtual bool shouldRubberBandInDirection(WebCore::ScrollDirection) const { return false; }
};
Modified: trunk/Source/WebCore/page/ChromeClient.h (107831 => 107832)
--- trunk/Source/WebCore/page/ChromeClient.h 2012-02-15 20:03:27 UTC (rev 107831)
+++ trunk/Source/WebCore/page/ChromeClient.h 2012-02-15 20:21:15 UTC (rev 107832)
@@ -325,6 +325,7 @@
virtual bool shouldRunModalDialogDuringPageDismissal(const DialogType&, const String& dialogMessage, FrameLoader::PageDismissalType) const { UNUSED_PARAM(dialogMessage); return true; }
virtual void numWheelEventHandlersChanged(unsigned) = 0;
+ virtual void numTouchEventHandlersChanged(unsigned) = 0;
virtual bool isSVGImageChromeClient() const { return false; }
Modified: trunk/Source/WebCore/page/Frame.cpp (107831 => 107832)
--- trunk/Source/WebCore/page/Frame.cpp 2012-02-15 20:03:27 UTC (rev 107831)
+++ trunk/Source/WebCore/page/Frame.cpp 2012-02-15 20:21:15 UTC (rev 107832)
@@ -293,8 +293,10 @@
if (m_doc)
m_doc->updateViewportArguments();
- if (m_page && m_page->mainFrame() == this)
+ if (m_page && m_page->mainFrame() == this) {
notifyChromeClientWheelEventHandlerCountChanged();
+ notifyChromeClientTouchEventHandlerCountChanged();
+ }
}
#if ENABLE(ORIENTATION_EVENTS)
@@ -1020,16 +1022,30 @@
{
// Ensure that this method is being called on the main frame of the page.
ASSERT(m_page && m_page->mainFrame() == this);
-
+
unsigned count = 0;
for (const Frame* frame = this; frame; frame = frame->tree()->traverseNext()) {
if (frame->document())
count += frame->document()->wheelEventHandlerCount();
}
-
+
m_page->chrome()->client()->numWheelEventHandlersChanged(count);
}
+void Frame::notifyChromeClientTouchEventHandlerCountChanged() const
+{
+ // Ensure that this method is being called on the main frame of the page.
+ ASSERT(m_page && m_page->mainFrame() == this);
+
+ unsigned count = 0;
+ for (const Frame* frame = this; frame; frame = frame->tree()->traverseNext()) {
+ if (frame->document())
+ count += frame->document()->touchEventHandlerCount();
+ }
+
+ m_page->chrome()->client()->numTouchEventHandlersChanged(count);
+}
+
#if !PLATFORM(MAC) && !PLATFORM(WIN)
struct ScopedFramePaintingState {
ScopedFramePaintingState(Frame* theFrame, RenderObject* theRenderer)
Modified: trunk/Source/WebCore/page/Frame.h (107831 => 107832)
--- trunk/Source/WebCore/page/Frame.h 2012-02-15 20:03:27 UTC (rev 107831)
+++ trunk/Source/WebCore/page/Frame.h 2012-02-15 20:21:15 UTC (rev 107832)
@@ -195,6 +195,7 @@
// Should only be called on the main frame of a page.
void notifyChromeClientWheelEventHandlerCountChanged() const;
+ void notifyChromeClientTouchEventHandlerCountChanged() const;
// ========
Modified: trunk/Source/WebKit/chromium/ChangeLog (107831 => 107832)
--- trunk/Source/WebKit/chromium/ChangeLog 2012-02-15 20:03:27 UTC (rev 107831)
+++ trunk/Source/WebKit/chromium/ChangeLog 2012-02-15 20:21:15 UTC (rev 107832)
@@ -1,3 +1,23 @@
+2012-02-15 Sadrul Habib Chowdhury <[email protected]>
+
+ Notify ChromeClient when touch-event handlers are installed/removed.
+ https://bugs.webkit.org/show_bug.cgi?id=77440
+
+ Reviewed by Darin Fisher and Ryosuke Niwa.
+
+ * public/WebViewClient.h:
+ (WebKit::WebViewClient::numberOfTouchEventHandlersChanged):
+ * src/ChromeClientImpl.cpp:
+ (WebKit::ChromeClientImpl::numTouchEventHandlersChanged):
+ (WebKit):
+ * src/ChromeClientImpl.h:
+ (ChromeClientImpl):
+ * src/WebViewImpl.cpp:
+ (WebKit::WebViewImpl::numberOfTouchEventHandlersChanged):
+ (WebKit):
+ * src/WebViewImpl.h:
+ (WebViewImpl):
+
2012-02-15 Anders Carlsson <[email protected]>
Remove ScrollableArea::handleGestureEvent
Modified: trunk/Source/WebKit/chromium/public/WebViewClient.h (107831 => 107832)
--- trunk/Source/WebKit/chromium/public/WebViewClient.h 2012-02-15 20:03:27 UTC (rev 107831)
+++ trunk/Source/WebKit/chromium/public/WebViewClient.h 2012-02-15 20:21:15 UTC (rev 107832)
@@ -263,6 +263,7 @@
virtual void focusedNodeChanged(const WebNode&) { }
virtual void numberOfWheelEventHandlersChanged(unsigned) { }
+ virtual void numberOfTouchEventHandlersChanged(unsigned) { }
// Indicates two things:
// 1) This view may have a new layout now.
Modified: trunk/Source/WebKit/chromium/src/ChromeClientImpl.cpp (107831 => 107832)
--- trunk/Source/WebKit/chromium/src/ChromeClientImpl.cpp 2012-02-15 20:03:27 UTC (rev 107831)
+++ trunk/Source/WebKit/chromium/src/ChromeClientImpl.cpp 2012-02-15 20:21:15 UTC (rev 107832)
@@ -1018,6 +1018,11 @@
m_webView->numberOfWheelEventHandlersChanged(numberOfWheelHandlers);
}
+void ChromeClientImpl::numTouchEventHandlersChanged(unsigned numberOfTouchHandlers)
+{
+ m_webView->numberOfTouchEventHandlersChanged(numberOfTouchHandlers);
+}
+
#if ENABLE(POINTER_LOCK)
bool ChromeClientImpl::requestPointerLock()
{
Modified: trunk/Source/WebKit/chromium/src/ChromeClientImpl.h (107831 => 107832)
--- trunk/Source/WebKit/chromium/src/ChromeClientImpl.h 2012-02-15 20:03:27 UTC (rev 107831)
+++ trunk/Source/WebKit/chromium/src/ChromeClientImpl.h 2012-02-15 20:21:15 UTC (rev 107832)
@@ -204,6 +204,7 @@
virtual bool shouldRubberBandInDirection(WebCore::ScrollDirection) const;
virtual void numWheelEventHandlersChanged(unsigned);
+ virtual void numTouchEventHandlersChanged(unsigned);
#if ENABLE(POINTER_LOCK)
virtual bool requestPointerLock();
Modified: trunk/Source/WebKit/chromium/src/WebViewImpl.cpp (107831 => 107832)
--- trunk/Source/WebKit/chromium/src/WebViewImpl.cpp 2012-02-15 20:03:27 UTC (rev 107831)
+++ trunk/Source/WebKit/chromium/src/WebViewImpl.cpp 2012-02-15 20:21:15 UTC (rev 107832)
@@ -805,6 +805,12 @@
#endif
}
+void WebViewImpl::numberOfTouchEventHandlersChanged(unsigned numberOfTouchHandlers)
+{
+ if (m_client)
+ m_client->numberOfTouchEventHandlersChanged(numberOfTouchHandlers);
+}
+
#if !OS(DARWIN)
// Mac has no way to open a context menu based on a keyboard event.
bool WebViewImpl::sendContextMenuEvent(const WebKeyboardEvent& event)
Modified: trunk/Source/WebKit/chromium/src/WebViewImpl.h (107831 => 107832)
--- trunk/Source/WebKit/chromium/src/WebViewImpl.h 2012-02-15 20:03:27 UTC (rev 107831)
+++ trunk/Source/WebKit/chromium/src/WebViewImpl.h 2012-02-15 20:21:15 UTC (rev 107832)
@@ -322,6 +322,7 @@
bool touchEvent(const WebTouchEvent&);
void numberOfWheelEventHandlersChanged(unsigned);
+ void numberOfTouchEventHandlersChanged(unsigned);
// Handles context menu events orignated via the the keyboard. These
// include the VK_APPS virtual key and the Shift+F10 combine. Code is
Modified: trunk/Source/WebKit/efl/ChangeLog (107831 => 107832)
--- trunk/Source/WebKit/efl/ChangeLog 2012-02-15 20:03:27 UTC (rev 107831)
+++ trunk/Source/WebKit/efl/ChangeLog 2012-02-15 20:21:15 UTC (rev 107832)
@@ -1,3 +1,13 @@
+2012-02-15 Sadrul Habib Chowdhury <[email protected]>
+
+ Notify ChromeClient when touch-event handlers are installed/removed.
+ https://bugs.webkit.org/show_bug.cgi?id=77440
+
+ Reviewed by Darin Fisher and Ryosuke Niwa.
+
+ * WebCoreSupport/ChromeClientEfl.h:
+ (WebCore::ChromeClientEfl::numTouchEventHandlersChanged):
+
2012-02-15 Gustavo Lima Chaves <[email protected]>
[EFL] Add missing libsoup to (pkgconfig) dependency requirements
Modified: trunk/Source/WebKit/efl/WebCoreSupport/ChromeClientEfl.h (107831 => 107832)
--- trunk/Source/WebKit/efl/WebCoreSupport/ChromeClientEfl.h 2012-02-15 20:03:27 UTC (rev 107831)
+++ trunk/Source/WebKit/efl/WebCoreSupport/ChromeClientEfl.h 2012-02-15 20:21:15 UTC (rev 107832)
@@ -173,6 +173,7 @@
virtual bool shouldRubberBandInDirection(WebCore::ScrollDirection) const { return true; }
virtual void numWheelEventHandlersChanged(unsigned) { }
+ virtual void numTouchEventHandlersChanged(unsigned) { }
Evas_Object* m_view;
KURL m_hoveredLinkURL;
Modified: trunk/Source/WebKit/gtk/ChangeLog (107831 => 107832)
--- trunk/Source/WebKit/gtk/ChangeLog 2012-02-15 20:03:27 UTC (rev 107831)
+++ trunk/Source/WebKit/gtk/ChangeLog 2012-02-15 20:21:15 UTC (rev 107832)
@@ -1,3 +1,13 @@
+2012-02-15 Sadrul Habib Chowdhury <[email protected]>
+
+ Notify ChromeClient when touch-event handlers are installed/removed.
+ https://bugs.webkit.org/show_bug.cgi?id=77440
+
+ Reviewed by Darin Fisher and Ryosuke Niwa.
+
+ * WebCoreSupport/ChromeClientGtk.h:
+ (WebKit::ChromeClient::numTouchEventHandlersChanged):
+
2012-02-15 No'am Rosenthal <[email protected]>
[Texmap] Divide TextureMapperNode.cpp to 3 files.
Modified: trunk/Source/WebKit/gtk/WebCoreSupport/ChromeClientGtk.h (107831 => 107832)
--- trunk/Source/WebKit/gtk/WebCoreSupport/ChromeClientGtk.h 2012-02-15 20:03:27 UTC (rev 107831)
+++ trunk/Source/WebKit/gtk/WebCoreSupport/ChromeClientGtk.h 2012-02-15 20:21:15 UTC (rev 107832)
@@ -159,6 +159,7 @@
virtual bool shouldRubberBandInDirection(ScrollDirection) const { return true; }
virtual void numWheelEventHandlersChanged(unsigned) { }
+ virtual void numTouchEventHandlersChanged(unsigned) { }
#if USE(ACCELERATED_COMPOSITING)
virtual void attachRootGraphicsLayer(Frame*, GraphicsLayer*);
Modified: trunk/Source/WebKit/mac/ChangeLog (107831 => 107832)
--- trunk/Source/WebKit/mac/ChangeLog 2012-02-15 20:03:27 UTC (rev 107831)
+++ trunk/Source/WebKit/mac/ChangeLog 2012-02-15 20:21:15 UTC (rev 107832)
@@ -1,3 +1,12 @@
+2012-02-15 Sadrul Habib Chowdhury <[email protected]>
+
+ Notify ChromeClient when touch-event handlers are installed/removed.
+ https://bugs.webkit.org/show_bug.cgi?id=77440
+
+ Reviewed by Darin Fisher and Ryosuke Niwa.
+
+ * WebCoreSupport/WebChromeClient.h:
+
2012-02-14 Matt Lilek <[email protected]>
Don't ENABLE_DASHBOARD_SUPPORT unconditionally on all Mac platforms
Modified: trunk/Source/WebKit/mac/WebCoreSupport/WebChromeClient.h (107831 => 107832)
--- trunk/Source/WebKit/mac/WebCoreSupport/WebChromeClient.h 2012-02-15 20:03:27 UTC (rev 107831)
+++ trunk/Source/WebKit/mac/WebCoreSupport/WebChromeClient.h 2012-02-15 20:21:15 UTC (rev 107832)
@@ -189,6 +189,7 @@
#endif
virtual void numWheelEventHandlersChanged(unsigned) OVERRIDE { }
+ virtual void numTouchEventHandlersChanged(unsigned) OVERRIDE { }
virtual bool shouldRubberBandInDirection(WebCore::ScrollDirection) const OVERRIDE { return false; }
private:
WebView *m_webView;
Modified: trunk/Source/WebKit/qt/ChangeLog (107831 => 107832)
--- trunk/Source/WebKit/qt/ChangeLog 2012-02-15 20:03:27 UTC (rev 107831)
+++ trunk/Source/WebKit/qt/ChangeLog 2012-02-15 20:21:15 UTC (rev 107832)
@@ -1,3 +1,13 @@
+2012-02-15 Sadrul Habib Chowdhury <[email protected]>
+
+ Notify ChromeClient when touch-event handlers are installed/removed.
+ https://bugs.webkit.org/show_bug.cgi?id=77440
+
+ Reviewed by Darin Fisher and Ryosuke Niwa.
+
+ * WebCoreSupport/ChromeClientQt.h:
+ (WebCore::ChromeClientQt::numTouchEventHandlersChanged):
+
2012-02-15 Simon Hausmann <[email protected]>
Unreviewed Qt 4.x build fix.
Modified: trunk/Source/WebKit/qt/WebCoreSupport/ChromeClientQt.h (107831 => 107832)
--- trunk/Source/WebKit/qt/WebCoreSupport/ChromeClientQt.h 2012-02-15 20:03:27 UTC (rev 107831)
+++ trunk/Source/WebKit/qt/WebCoreSupport/ChromeClientQt.h 2012-02-15 20:21:15 UTC (rev 107832)
@@ -192,6 +192,7 @@
virtual bool shouldRubberBandInDirection(WebCore::ScrollDirection) const { return true; }
virtual void numWheelEventHandlersChanged(unsigned) { }
+ virtual void numTouchEventHandlersChanged(unsigned) { }
QWebPage* m_webPage;
KURL lastHoverURL;
Modified: trunk/Source/WebKit/win/ChangeLog (107831 => 107832)
--- trunk/Source/WebKit/win/ChangeLog 2012-02-15 20:03:27 UTC (rev 107831)
+++ trunk/Source/WebKit/win/ChangeLog 2012-02-15 20:21:15 UTC (rev 107832)
@@ -1,3 +1,13 @@
+2012-02-15 Sadrul Habib Chowdhury <[email protected]>
+
+ Notify ChromeClient when touch-event handlers are installed/removed.
+ https://bugs.webkit.org/show_bug.cgi?id=77440
+
+ Reviewed by Darin Fisher and Ryosuke Niwa.
+
+ * WebCoreSupport/WebChromeClient.h:
+ (WebChromeClient::numTouchEventHandlersChanged):
+
2012-02-14 Alexey Proskuryakov <[email protected]>
[Mac][Win][WK2] Switch to RFC 6455 protocol for WebSockets
Modified: trunk/Source/WebKit/win/WebCoreSupport/WebChromeClient.h (107831 => 107832)
--- trunk/Source/WebKit/win/WebCoreSupport/WebChromeClient.h 2012-02-15 20:03:27 UTC (rev 107831)
+++ trunk/Source/WebKit/win/WebCoreSupport/WebChromeClient.h 2012-02-15 20:21:15 UTC (rev 107832)
@@ -177,6 +177,7 @@
virtual bool shouldRubberBandInDirection(WebCore::ScrollDirection) const { return true; }
virtual void numWheelEventHandlersChanged(unsigned) { }
+ virtual void numTouchEventHandlersChanged(unsigned) { }
private:
COMPtr<IWebUIDelegate> uiDelegate();
Modified: trunk/Source/WebKit/wince/ChangeLog (107831 => 107832)
--- trunk/Source/WebKit/wince/ChangeLog 2012-02-15 20:03:27 UTC (rev 107831)
+++ trunk/Source/WebKit/wince/ChangeLog 2012-02-15 20:21:15 UTC (rev 107832)
@@ -1,3 +1,13 @@
+2012-02-15 Sadrul Habib Chowdhury <[email protected]>
+
+ Notify ChromeClient when touch-event handlers are installed/removed.
+ https://bugs.webkit.org/show_bug.cgi?id=77440
+
+ Reviewed by Darin Fisher and Ryosuke Niwa.
+
+ * WebCoreSupport/ChromeClientWinCE.h:
+ (WebKit::ChromeClientWinCE::numTouchEventHandlersChanged):
+
2011-12-19 Sam Weinig <[email protected]>
More PlatformEvent cleanup
Modified: trunk/Source/WebKit/wince/WebCoreSupport/ChromeClientWinCE.h (107831 => 107832)
--- trunk/Source/WebKit/wince/WebCoreSupport/ChromeClientWinCE.h 2012-02-15 20:03:27 UTC (rev 107831)
+++ trunk/Source/WebKit/wince/WebCoreSupport/ChromeClientWinCE.h 2012-02-15 20:21:15 UTC (rev 107832)
@@ -177,6 +177,7 @@
virtual bool shouldRubberBandInDirection(WebCore::ScrollDirection) const { return true; }
virtual void numWheelEventHandlersChanged(unsigned) { }
+ virtual void numTouchEventHandlersChanged(unsigned) { }
private:
WebView* m_webView;
Modified: trunk/Source/WebKit/wx/ChangeLog (107831 => 107832)
--- trunk/Source/WebKit/wx/ChangeLog 2012-02-15 20:03:27 UTC (rev 107831)
+++ trunk/Source/WebKit/wx/ChangeLog 2012-02-15 20:21:15 UTC (rev 107832)
@@ -1,3 +1,13 @@
+2012-02-15 Sadrul Habib Chowdhury <[email protected]>
+
+ Notify ChromeClient when touch-event handlers are installed/removed.
+ https://bugs.webkit.org/show_bug.cgi?id=77440
+
+ Reviewed by Darin Fisher and Ryosuke Niwa.
+
+ * WebKitSupport/ChromeClientWx.h:
+ (WebCore::ChromeClientWx::numTouchEventHandlersChanged):
+
2012-01-30 Kevin Ollivier <[email protected]>
[wx] Unreviewed. Build fix, add _javascript_Core/runtime
Modified: trunk/Source/WebKit/wx/WebKitSupport/ChromeClientWx.h (107831 => 107832)
--- trunk/Source/WebKit/wx/WebKitSupport/ChromeClientWx.h 2012-02-15 20:03:27 UTC (rev 107831)
+++ trunk/Source/WebKit/wx/WebKitSupport/ChromeClientWx.h 2012-02-15 20:21:15 UTC (rev 107832)
@@ -151,6 +151,7 @@
virtual bool shouldRubberBandInDirection(WebCore::ScrollDirection) const { return true; }
virtual void numWheelEventHandlersChanged(unsigned) { }
+ virtual void numTouchEventHandlersChanged(unsigned) { }
virtual bool hasOpenedPopup() const;
Modified: trunk/Source/WebKit2/ChangeLog (107831 => 107832)
--- trunk/Source/WebKit2/ChangeLog 2012-02-15 20:03:27 UTC (rev 107831)
+++ trunk/Source/WebKit2/ChangeLog 2012-02-15 20:21:15 UTC (rev 107832)
@@ -1,3 +1,14 @@
+2012-02-15 Sadrul Habib Chowdhury <[email protected]>
+
+ Notify ChromeClient when touch-event handlers are installed/removed.
+ https://bugs.webkit.org/show_bug.cgi?id=77440
+
+ Reviewed by Darin Fisher and Ryosuke Niwa.
+
+ * UIProcess/WebPageProxy.h:
+ (WebKit::WebPageProxy::numTouchEventHandlersChanged):
+ * WebProcess/WebCoreSupport/WebChromeClient.h:
+
2012-02-15 Patrick Gansterer <[email protected]>
[CMake] Move RunLoop to WebCore/platform
Modified: trunk/Source/WebKit2/WebProcess/WebCoreSupport/WebChromeClient.h (107831 => 107832)
--- trunk/Source/WebKit2/WebProcess/WebCoreSupport/WebChromeClient.h 2012-02-15 20:03:27 UTC (rev 107831)
+++ trunk/Source/WebKit2/WebProcess/WebCoreSupport/WebChromeClient.h 2012-02-15 20:21:15 UTC (rev 107832)
@@ -220,6 +220,7 @@
virtual bool shouldRubberBandInDirection(WebCore::ScrollDirection) const OVERRIDE;
virtual void numWheelEventHandlersChanged(unsigned) OVERRIDE;
+ virtual void numTouchEventHandlersChanged(unsigned) OVERRIDE { }
String m_cachedToolTip;
mutable RefPtr<WebFrame> m_cachedFrameSetLargestFrame;