Changeset 216778 in webkit
- Timestamp:
- May 12, 2017 1:09:25 PM (7 years ago)
- Location:
- trunk/Source
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r216775 r216778 1 2017-05-12 Simon Fraser <simon.fraser@apple.com> 2 3 Add some logging for layer tree commits, and resize and orientation change events 4 https://bugs.webkit.org/show_bug.cgi?id=172041 5 6 Reviewed by Tim Horton. 7 8 Add some logging that's useful during rotation investigations. 9 10 * dom/Document.cpp: 11 (WebCore::Document::orientationChanged): 12 * page/FrameView.cpp: 13 (WebCore::FrameView::sendResizeEventIfNeeded): 14 1 15 2017-05-12 Romain Bellessort <romain.bellessort@crf.canon.fr> 2 16 -
trunk/Source/WebCore/dom/Document.cpp
r216426 r216778 6971 6971 void Document::orientationChanged(int orientation) 6972 6972 { 6973 LOG(Events, "Document %p orientationChanged - orientation %d", this, orientation); 6973 6974 dispatchWindowEvent(Event::create(eventNames().orientationchangeEvent, false, false)); 6974 6975 m_orientationNotifier.orientationChanged(orientation); -
trunk/Source/WebCore/page/FrameView.cpp
r216541 r216778 3626 3626 bool canSendResizeEventSynchronously = isMainFrame && !m_shouldAutoSize; 3627 3627 3628 LOG(Events, "FrameView %p sendResizeEventIfNeeded sending resize event, size %dx%d (canSendResizeEventSynchronously %d)", this, currentSize.width(), currentSize.height(), canSendResizeEventSynchronously); 3629 3628 3630 Ref<Event> resizeEvent = Event::create(eventNames().resizeEvent, false, false); 3629 3631 if (canSendResizeEventSynchronously) -
trunk/Source/WebKit2/ChangeLog
r216774 r216778 1 2017-05-12 Simon Fraser <simon.fraser@apple.com> 2 3 Add some logging for layer tree commits, and resize and orientation change events 4 https://bugs.webkit.org/show_bug.cgi?id=172041 5 6 Reviewed by Tim Horton. 7 8 Add some logging that's useful during rotation investigations. 9 10 * UIProcess/API/Cocoa/WKWebView.mm: 11 (-[WKWebView _didCommitLayerTree:]): 12 * UIProcess/ios/WKContentView.mm: 13 (-[WKContentView _didCommitLayerTree:]): 14 1 15 2017-05-12 Andy Estes <aestes@apple.com> 2 16 -
trunk/Source/WebKit2/UIProcess/API/Cocoa/WKWebView.mm
r216704 r216778 1468 1468 if (![self usesStandardContentView]) 1469 1469 return; 1470 1471 LOG_WITH_STREAM(VisibleRects, stream << "-[WKWebView _didCommitLayerTree:] transactionID " << layerTreeTransaction.transactionID() << " _dynamicViewportUpdateMode " << (int)_dynamicViewportUpdateMode); 1470 1472 1471 1473 if (_dynamicViewportUpdateMode != DynamicViewportUpdateMode::NotResizing) { -
trunk/Source/WebKit2/UIProcess/ios/WKContentView.mm
r216352 r216778 560 560 CGRect contentBounds = { scrollOrigin, contentsSize }; 561 561 562 LOG_WITH_STREAM(VisibleRects, stream << "-[WKContentView _didCommitLayerTree:] transactionID " << layerTreeTransaction.transactionID() << " contentBounds " << FloatRect(contentBounds)); 563 562 564 BOOL boundsChanged = !CGRectEqualToRect([self bounds], contentBounds); 563 565 if (boundsChanged)
Note: See TracChangeset
for help on using the changeset viewer.