Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
WebKit2: Windows 7 Gestures Window Bounce shouldn't require a sync me…
…ssage https://bugs.webkit.org/show_bug.cgi?id=58167 <rdar://problem/9259813> Reviewed by Adam Roben. Instead of making GestureDidScroll sync, have WebPageWin call from WebProcess -> UIProcess when the gesture causes the page to scroll to the beginning or the end of the document. * UIProcess/PageClient.h: * UIProcess/WebPageProxy.cpp: (WebKit::WebPageProxy::gestureDidScroll): Not a sync message anymore. (WebKit::WebPageProxy::setGestureScrollingLimitReached): Tell the page client that the gesture scrolling limnit was reached. * UIProcess/WebPageProxy.h: * UIProcess/WebPageProxy.messages.in: Add a new message. * UIProcess/win/WebView.cpp: (WebKit::WebView::WebView): Initialize new variable. (WebKit::WebView::onGesture): Use the state of the member variable, not the response from the sync message. * UIProcess/win/WebView.h: (WebKit::WebView::setGestureScrollingLimitReached): * WebProcess/WebPage/WebPage.h: * WebProcess/WebPage/WebPage.messages.in: * WebProcess/WebPage/win/WebPageWin.cpp: (WebKit::scrollbarAtTopOfBottomOrDocument): Returns whether or not the scrollbar is at the top or bottom of the document. (WebKit::WebPage::gestureDidScroll): Track whether or not we started at the beginning or end of the document, and whether or not we ended at the beginning or end of the document, and send a message if the value changed. Canonical link: https://commits.webkit.org/73231@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@83460 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information
1 parent
4c7f9e1
commit b684855
Showing
11 changed files
with
91 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters