Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(687)

Side by Side Diff: Source/core/frame/FrameView.cpp

Issue 148823002: *** DO NOT LAND *** Measure the size and complexity of the old multicol implementation. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « Source/core/dom/Document.cpp ('k') | Source/core/rendering/ColumnInfo.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 1998, 1999 Torben Weis <weis@kde.org> 2 * Copyright (C) 1998, 1999 Torben Weis <weis@kde.org>
3 * 1999 Lars Knoll <knoll@kde.org> 3 * 1999 Lars Knoll <knoll@kde.org>
4 * 1999 Antti Koivisto <koivisto@kde.org> 4 * 1999 Antti Koivisto <koivisto@kde.org>
5 * 2000 Dirk Mueller <mueller@kde.org> 5 * 2000 Dirk Mueller <mueller@kde.org>
6 * Copyright (C) 2004, 2005, 2006, 2007, 2008 Apple Inc. All rights reserved. 6 * Copyright (C) 2004, 2005, 2006, 2007, 2008 Apple Inc. All rights reserved.
7 * (C) 2006 Graham Dennis (graham.dennis@gmail.com) 7 * (C) 2006 Graham Dennis (graham.dennis@gmail.com)
8 * (C) 2006 Alexey Proskuryakov (ap@nypop.com) 8 * (C) 2006 Alexey Proskuryakov (ap@nypop.com)
9 * Copyright (C) 2009 Google Inc. All rights reserved. 9 * Copyright (C) 2009 Google Inc. All rights reserved.
10 * 10 *
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 static const double resourcePriorityUpdateDelayAfterScroll = 0.250; 93 static const double resourcePriorityUpdateDelayAfterScroll = 0.250;
94 94
95 static RenderLayer::UpdateLayerPositionsFlags updateLayerPositionFlags(RenderLay er* layer, bool isRelayoutingSubtree, bool didFullRepaint) 95 static RenderLayer::UpdateLayerPositionsFlags updateLayerPositionFlags(RenderLay er* layer, bool isRelayoutingSubtree, bool didFullRepaint)
96 { 96 {
97 RenderLayer::UpdateLayerPositionsFlags flags = RenderLayer::defaultFlags; 97 RenderLayer::UpdateLayerPositionsFlags flags = RenderLayer::defaultFlags;
98 98
99 if (didFullRepaint) { 99 if (didFullRepaint) {
100 flags &= ~RenderLayer::CheckForRepaint; 100 flags &= ~RenderLayer::CheckForRepaint;
101 flags |= RenderLayer::NeedsFullRepaintInBacking; 101 flags |= RenderLayer::NeedsFullRepaintInBacking;
102 } 102 }
103 if (isRelayoutingSubtree && layer->isPaginated())
104 flags |= RenderLayer::UpdatePagination;
105 return flags; 103 return flags;
106 } 104 }
107 105
108 Pagination::Mode paginationModeForRenderStyle(RenderStyle* style) 106 Pagination::Mode paginationModeForRenderStyle(RenderStyle* style)
109 { 107 {
110 EOverflow overflow = style->overflowY(); 108 EOverflow overflow = style->overflowY();
111 if (overflow != OPAGEDX && overflow != OPAGEDY) 109 if (overflow != OPAGEDX && overflow != OPAGEDY)
112 return Pagination::Unpaginated; 110 return Pagination::Unpaginated;
113 111
114 bool isHorizontalWritingMode = style->isHorizontalWritingMode(); 112 bool isHorizontalWritingMode = style->isHorizontalWritingMode();
(...skipping 3079 matching lines...) Expand 10 before | Expand all | Expand 10 after
3194 void FrameView::willRemoveScrollbar(Scrollbar* scrollbar, ScrollbarOrientation o rientation) 3192 void FrameView::willRemoveScrollbar(Scrollbar* scrollbar, ScrollbarOrientation o rientation)
3195 { 3193 {
3196 ScrollableArea::willRemoveScrollbar(scrollbar, orientation); 3194 ScrollableArea::willRemoveScrollbar(scrollbar, orientation);
3197 if (AXObjectCache* cache = axObjectCache()) { 3195 if (AXObjectCache* cache = axObjectCache()) {
3198 cache->remove(scrollbar); 3196 cache->remove(scrollbar);
3199 cache->handleScrollbarUpdate(this); 3197 cache->handleScrollbarUpdate(this);
3200 } 3198 }
3201 } 3199 }
3202 3200
3203 } // namespace WebCore 3201 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/core/dom/Document.cpp ('k') | Source/core/rendering/ColumnInfo.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698