Changeset 163836 in webkit
- Timestamp:
- Feb 10, 2014 4:24:55 PM (10 years ago)
- Location:
- trunk/Source/WebKit2
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit2/ChangeLog
r163821 r163836 1 2014-02-10 Simon Fraser <simon.fraser@apple.com> 2 3 Put a delegatesScrolling flag on WebPageProxy so that the UI process knows when scrolling is delegated 4 https://bugs.webkit.org/show_bug.cgi?id=128429 5 6 Reviewed by Sam Weinig. 7 8 Add delegatesScrolling() which defaults to false, but is set to true for iOS 9 by WKContentView. 10 11 * UIProcess/API/ios/WKContentView.mm: 12 (-[WKContentView initWithFrame:configuration:]): 13 (-[WKContentView _commonInitializationWithContextRef:pageGroupRef:relatedToPage:]): 14 * UIProcess/WebPageProxy.cpp: 15 (WebKit::WebPageProxy::WebPageProxy): 16 * UIProcess/WebPageProxy.h: 17 (WebKit::WebPageProxy::setDelegatesScrolling): 18 (WebKit::WebPageProxy::delegatesScrolling): 19 1 20 2014-02-10 Gavin Barraclough <barraclough@apple.com> 2 21 -
trunk/Source/WebKit2/UIProcess/API/ios/WKContentView.mm
r163683 r163836 112 112 _page->setIntrinsicDeviceScaleFactor([UIScreen mainScreen].scale); 113 113 _page->setUseFixedLayout(true); 114 _page->setDelegatesScrolling(true); 114 115 115 116 WebContext::statistics().wkViewCount++; … … 264 265 _page->setIntrinsicDeviceScaleFactor([UIScreen mainScreen].scale); 265 266 _page->setUseFixedLayout(true); 267 _page->setDelegatesScrolling(true); 266 268 267 269 WebContext::statistics().wkViewCount++; -
trunk/Source/WebKit2/UIProcess/WebPageProxy.cpp
r163821 r163836 310 310 , m_hasSpellDocumentTag(false) 311 311 , m_pendingLearnOrIgnoreWordMessageCount(0) 312 , m_delegatesScrolling(false) 312 313 , m_mainFrameHasHorizontalScrollbar(false) 313 314 , m_mainFrameHasVerticalScrollbar(false) -
trunk/Source/WebKit2/UIProcess/WebPageProxy.h
r163821 r163836 437 437 bool canScrollView(); 438 438 void scrollView(const WebCore::IntRect& scrollRect, const WebCore::IntSize& scrollOffset); 439 440 void setDelegatesScrolling(bool delegatesScrolling) { m_delegatesScrolling = delegatesScrolling; } 441 bool delegatesScrolling() const { return m_delegatesScrolling; } 439 442 440 443 enum class WantsReplyOrNot { DoesNotWantReply, DoesWantReply }; … … 1367 1370 1368 1371 PageLoadState m_pageLoadState; 1372 1373 bool m_delegatesScrolling; 1369 1374 1370 1375 bool m_mainFrameHasHorizontalScrollbar;
Note: See TracChangeset
for help on using the changeset viewer.