Title: [214568] trunk/Source/WebKit2
Revision
214568
Author
timothy_hor...@apple.com
Date
2017-03-29 15:44:13 -0700 (Wed, 29 Mar 2017)

Log Message

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.

Modified Paths

Diff

Modified: trunk/Source/WebKit2/ChangeLog (214567 => 214568)


--- trunk/Source/WebKit2/ChangeLog	2017-03-29 22:41:23 UTC (rev 214567)
+++ trunk/Source/WebKit2/ChangeLog	2017-03-29 22:44:13 UTC (rev 214568)
@@ -1,3 +1,18 @@
+2017-03-29  Tim Horton  <timothy_hor...@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  <an...@apple.com>
 
         Increment the last stable network cache version on Mac

Modified: trunk/Source/WebKit2/UIProcess/PageClient.h (214567 => 214568)


--- trunk/Source/WebKit2/UIProcess/PageClient.h	2017-03-29 22:41:23 UTC (rev 214567)
+++ trunk/Source/WebKit2/UIProcess/PageClient.h	2017-03-29 22:44:13 UTC (rev 214568)
@@ -252,7 +252,6 @@
     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;

Modified: trunk/Source/WebKit2/UIProcess/WebPageProxy.cpp (214567 => 214568)


--- trunk/Source/WebKit2/UIProcess/WebPageProxy.cpp	2017-03-29 22:41:23 UTC (rev 214567)
+++ trunk/Source/WebKit2/UIProcess/WebPageProxy.cpp	2017-03-29 22:44:13 UTC (rev 214568)
@@ -6552,11 +6552,6 @@
 }
 
 #if PLATFORM(MAC)
-void WebPageProxy::removeNavigationGestureSnapshot()
-{
-    m_pageClient.removeNavigationGestureSnapshot();
-}
-
 void WebPageProxy::performImmediateActionHitTestAtLocation(FloatPoint point)
 {
     m_process->send(Messages::WebPage::PerformImmediateActionHitTestAtLocation(point), m_pageID);

Modified: trunk/Source/WebKit2/UIProcess/WebPageProxy.h (214567 => 214568)


--- trunk/Source/WebKit2/UIProcess/WebPageProxy.h	2017-03-29 22:41:23 UTC (rev 214567)
+++ trunk/Source/WebKit2/UIProcess/WebPageProxy.h	2017-03-29 22:44:13 UTC (rev 214568)
@@ -1088,8 +1088,6 @@
 #endif
 
 #if PLATFORM(MAC)
-    void removeNavigationGestureSnapshot();
-
     API::HitTestResult* lastMouseMoveHitTestResult() const { return m_lastMouseMoveHitTestResult.get(); }
     void performImmediateActionHitTestAtLocation(WebCore::FloatPoint);
 

Modified: trunk/Source/WebKit2/UIProcess/mac/PageClientImpl.h (214567 => 214568)


--- trunk/Source/WebKit2/UIProcess/mac/PageClientImpl.h	2017-03-29 22:41:23 UTC (rev 214567)
+++ trunk/Source/WebKit2/UIProcess/mac/PageClientImpl.h	2017-03-29 22:44:13 UTC (rev 214568)
@@ -208,7 +208,6 @@
     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;
 

Modified: trunk/Source/WebKit2/UIProcess/mac/PageClientImpl.mm (214567 => 214568)


--- trunk/Source/WebKit2/UIProcess/mac/PageClientImpl.mm	2017-03-29 22:41:23 UTC (rev 214567)
+++ trunk/Source/WebKit2/UIProcess/mac/PageClientImpl.mm	2017-03-29 22:44:13 UTC (rev 214568)
@@ -770,12 +770,6 @@
         gestureController->didSameDocumentNavigationForMainFrame(type);
 }
 
-void PageClientImpl::removeNavigationGestureSnapshot()
-{
-    if (auto gestureController = m_impl->gestureController())
-        gestureController->removeSwipeSnapshot();
-}
-
 void PageClientImpl::handleControlledElementIDResponse(const String& identifier)
 {
 #if WK_API_ENABLED
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to