Changeset 202586 in webkit
- Timestamp:
- Jun 28, 2016 2:10:32 PM (8 years ago)
- Location:
- trunk/Source/WebKit2
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit2/ChangeLog
r202581 r202586 1 2016-06-28 Tim Horton <timothy_horton@apple.com> 2 3 Keep track of when a WKWebView is blank before the initial non-empty layout 4 https://bugs.webkit.org/show_bug.cgi?id=159217 5 <rdar://problem/26071766> 6 7 Reviewed by Beth Dakin. 8 9 * UIProcess/API/Cocoa/WKWebView.mm: 10 (-[WKWebView _initializeWithConfiguration:]): 11 (-[WKWebView _setIsBlankBeforeFirstNonEmptyLayout:]): 12 (-[WKWebView _didFirstVisuallyNonEmptyLayoutForMainFrame]): 13 * UIProcess/API/Cocoa/WKWebViewInternal.h: 14 * UIProcess/ios/PageClientImplIOS.mm: 15 (WebKit::PageClientImpl::didFirstVisuallyNonEmptyLayoutForMainFrame): 16 1 17 2016-06-28 Anders Carlsson <andersca@apple.com> 2 18 -
trunk/Source/WebKit2/UIProcess/API/Cocoa/WKWebView.mm
r202444 r202586 158 158 #endif // PLATFORM(IOS) 159 159 160 #if USE(APPLE_INTERNAL_SDK) 161 #import <WebKitAdditions/WKWebViewAdditions.mm> 162 #endif 163 160 164 #if PLATFORM(IOS) 161 165 static const uint32_t firstSDKVersionWithLinkPreviewEnabledByDefault = 0xA0000; … … 491 495 [_scrollView setBouncesZoom:YES]; 492 496 497 [self _setIsBlankBeforeFirstNonEmptyLayout:YES]; 498 493 499 [self addSubview:_scrollView.get()]; 494 500 … … 1751 1757 } 1752 1758 1759 #if !USE(APPLE_INTERNAL_SDK) 1760 - (void)_setIsBlankBeforeFirstNonEmptyLayout:(BOOL)isBlank 1761 { 1762 } 1763 #endif 1764 1753 1765 #pragma mark - UIScrollViewDelegate 1754 1766 … … 2075 2087 isChangingObscuredInsetsInteractively:_isChangingObscuredInsetsInteractively 2076 2088 enclosedInScrollableAncestorView:scrollViewCanScroll([self _scroller])]; 2089 } 2090 2091 - (void)_didFirstVisuallyNonEmptyLayoutForMainFrame 2092 { 2093 [self _setIsBlankBeforeFirstNonEmptyLayout:NO]; 2077 2094 } 2078 2095 … … 4620 4637 @end 4621 4638 4622 #if PLATFORM(IOS) && USE(APPLE_INTERNAL_SDK)4623 #import <WebKitAdditions/WKWebViewAdditions.mm>4624 #endif4625 4626 #if PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 101200 && USE(APPLE_INTERNAL_SDK)4627 #import <WebKitAdditions/WKWebViewAdditionsMac.mm>4628 #endif4629 4630 4639 #endif // WK_API_ENABLED -
trunk/Source/WebKit2/UIProcess/API/Cocoa/WKWebViewInternal.h
r201888 r202586 104 104 - (void)_updateContentRectsWithState:(BOOL)inStableState; 105 105 106 - (void)_didFirstVisuallyNonEmptyLayoutForMainFrame; 106 107 - (void)_didFinishLoadForMainFrame; 107 108 - (void)_didFailLoadForMainFrame; -
trunk/Source/WebKit2/UIProcess/ios/PageClientImplIOS.mm
r202183 r202586 703 703 void PageClientImpl::didFirstVisuallyNonEmptyLayoutForMainFrame() 704 704 { 705 [m_webView _didFirstVisuallyNonEmptyLayoutForMainFrame]; 705 706 } 706 707
Note: See TracChangeset
for help on using the changeset viewer.