Changeset 25142 in webkit
- Timestamp:
- Aug 17, 2007, 8:48:59 PM (18 years ago)
- Location:
- trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebCore/ChangeLog
r25132 r25142 1 2007-08-17 Maciej Stachowiak <mjs@apple.com> 2 3 Reviewed by Darin. 4 5 - WebCore part of fix to scrollbar suppression hack for Leopard 6 7 * loader/FrameLoader.cpp: 8 (WebCore::FrameLoader::transitionToCommitted): Suppress scrollbars earlier, so it happens 9 before any potential view swap. 10 1 11 2007-08-17 Antti Koivisto <antti@apple.com> 2 12 -
trunk/WebCore/loader/FrameLoader.cpp
r25128 r25142 2506 2506 case FrameLoadTypeStandard: 2507 2507 updateHistoryForStandardLoad(); 2508 if (m_frame->view()) 2509 m_frame->view()->suppressScrollbars(true); 2508 2510 m_client->makeDocumentView(); 2509 2511 break; -
trunk/WebKit/ChangeLog
r25137 r25142 1 2007-08-17 Maciej Stachowiak <mjs@apple.com> 2 3 Reviewed by Darin. 4 5 - WebKit part of fix to scrollbar suppression hack for Leopard 6 7 * WebView/WebDynamicScrollBarsView.m: 8 (-[WebDynamicScrollBarsView reflectScrolledClipView:]): Don't call the superclass method 9 when scrollbars are suppressed. 10 (-[WebDynamicScrollBarsView setScrollBarsSuppressed:repaintOnUnsuppress:]): Instead call it 11 here, when unsuppressing. 12 1 13 2007-08-17 Darin Adler <darin@apple.com> 2 14 -
trunk/WebKit/WebView/WebDynamicScrollBarsView.m
r24060 r25142 42 42 { 43 43 suppressScrollers = suppressed; 44 if (suppressed || repaint) { 45 [[self verticalScroller] setNeedsDisplay: !suppressed]; 46 [[self horizontalScroller] setNeedsDisplay: !suppressed]; 47 } 44 if (suppressed) { 45 [[self verticalScroller] setNeedsDisplay:NO]; 46 [[self horizontalScroller] setNeedsDisplay:NO]; 47 } 48 49 if (!suppressed && repaint) 50 [super reflectScrolledClipView:[self contentView]]; 48 51 } 49 52 … … 132 135 [self updateScrollers]; 133 136 } 134 [super reflectScrolledClipView:clipView]; 135 136 // Validate the scrollers if they're being suppressed. 137 if (suppressScrollers) { 138 [[self verticalScroller] setNeedsDisplay: NO]; 139 [[self horizontalScroller] setNeedsDisplay: NO]; 140 } 137 138 // Update the scrollers if they're not being suppressed. 139 if (!suppressScrollers) 140 [super reflectScrolledClipView:clipView]; 141 141 } 142 142
Note:
See TracChangeset
for help on using the changeset viewer.