Remove unused PageClient::removeNavigationGestureSnapshot
authortimothy_horton@apple.com <timothy_horton@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 29 Mar 2017 22:44:13 +0000 (22:44 +0000)
committertimothy_horton@apple.com <timothy_horton@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 29 Mar 2017 22:44:13 +0000 (22:44 +0000)
https://bugs.webkit.org/show_bug.cgi?id=170249

Reviewed by Beth Dakin.

* UIProcess/PageClient.h:
* UIProcess/WebPageProxy.cpp:
(WebKit::WebPageProxy::removeNavigationGestureSnapshot): Deleted.
* UIProcess/WebPageProxy.h:
* UIProcess/mac/PageClientImpl.h:
* UIProcess/mac/PageClientImpl.mm:
(WebKit::PageClientImpl::removeNavigationGestureSnapshot): Deleted.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@214568 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebKit2/ChangeLog
Source/WebKit2/UIProcess/PageClient.h
Source/WebKit2/UIProcess/WebPageProxy.cpp
Source/WebKit2/UIProcess/WebPageProxy.h
Source/WebKit2/UIProcess/mac/PageClientImpl.h
Source/WebKit2/UIProcess/mac/PageClientImpl.mm

index 614d2ad..10939cf 100644 (file)
@@ -1,3 +1,18 @@
+2017-03-29  Tim Horton  <timothy_horton@apple.com>
+
+        Remove unused PageClient::removeNavigationGestureSnapshot
+        https://bugs.webkit.org/show_bug.cgi?id=170249
+
+        Reviewed by Beth Dakin.
+
+        * UIProcess/PageClient.h:
+        * UIProcess/WebPageProxy.cpp:
+        (WebKit::WebPageProxy::removeNavigationGestureSnapshot): Deleted.
+        * UIProcess/WebPageProxy.h:
+        * UIProcess/mac/PageClientImpl.h:
+        * UIProcess/mac/PageClientImpl.mm:
+        (WebKit::PageClientImpl::removeNavigationGestureSnapshot): Deleted.
+
 2017-03-29  Antti Koivisto  <antti@apple.com>
 
         Increment the last stable network cache version on Mac
index 04f7987..b56debf 100644 (file)
@@ -252,7 +252,6 @@ public:
     virtual String dismissCorrectionPanelSoon(WebCore::ReasonForDismissingAlternativeText) = 0;
     virtual void recordAutocorrectionResponse(WebCore::AutocorrectionResponse, const String& replacedString, const String& replacementString) = 0;
     virtual void recommendedScrollbarStyleDidChange(WebCore::ScrollbarStyle) = 0;
-    virtual void removeNavigationGestureSnapshot() = 0;
     virtual void handleControlledElementIDResponse(const String&) = 0;
 
     virtual CGRect boundsOfLayerInLayerBackedWindowCoordinates(CALayer *) const = 0;
index 04b3ae9..1506e5e 100644 (file)
@@ -6552,11 +6552,6 @@ void WebPageProxy::handleAutoplayEvent(uint32_t event)
 }
 
 #if PLATFORM(MAC)
-void WebPageProxy::removeNavigationGestureSnapshot()
-{
-    m_pageClient.removeNavigationGestureSnapshot();
-}
-
 void WebPageProxy::performImmediateActionHitTestAtLocation(FloatPoint point)
 {
     m_process->send(Messages::WebPage::PerformImmediateActionHitTestAtLocation(point), m_pageID);
index fb05898..acbdfbb 100644 (file)
@@ -1088,8 +1088,6 @@ public:
 #endif
 
 #if PLATFORM(MAC)
-    void removeNavigationGestureSnapshot();
-
     API::HitTestResult* lastMouseMoveHitTestResult() const { return m_lastMouseMoveHitTestResult.get(); }
     void performImmediateActionHitTestAtLocation(WebCore::FloatPoint);
 
index eda29a7..3cb6ca8 100644 (file)
@@ -208,7 +208,6 @@ private:
     void didFinishLoadForMainFrame() override;
     void didFailLoadForMainFrame() override;
     void didSameDocumentNavigationForMainFrame(SameDocumentNavigationType) override;
-    void removeNavigationGestureSnapshot() override;
     void handleControlledElementIDResponse(const String&) override;
     void handleActiveNowPlayingSessionInfoResponse(bool hasActiveSession, const String& title, double duration, double elapsedTime) override;
 
index dd96089..c5c4a65 100644 (file)
@@ -770,12 +770,6 @@ void PageClientImpl::didSameDocumentNavigationForMainFrame(SameDocumentNavigatio
         gestureController->didSameDocumentNavigationForMainFrame(type);
 }
 
-void PageClientImpl::removeNavigationGestureSnapshot()
-{
-    if (auto gestureController = m_impl->gestureController())
-        gestureController->removeSwipeSnapshot();
-}
-
 void PageClientImpl::handleControlledElementIDResponse(const String& identifier)
 {
 #if WK_API_ENABLED