OLD | NEW |
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 952 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
963 | 963 |
964 performLayout(rootForThisLayout, inSubtreeLayout); | 964 performLayout(rootForThisLayout, inSubtreeLayout); |
965 | 965 |
966 m_layoutSubtreeRoot = 0; | 966 m_layoutSubtreeRoot = 0; |
967 } // Reset m_layoutSchedulingEnabled to its previous value. | 967 } // Reset m_layoutSchedulingEnabled to its previous value. |
968 | 968 |
969 if (!inSubtreeLayout && !toRenderView(rootForThisLayout)->document().printin
g()) | 969 if (!inSubtreeLayout && !toRenderView(rootForThisLayout)->document().printin
g()) |
970 adjustViewSize(); | 970 adjustViewSize(); |
971 | 971 |
972 layer->updateLayerPositionsAfterLayout(renderView()->layer(), updateLayerPos
itionFlags(layer, inSubtreeLayout, m_doFullPaintInvalidation)); | 972 layer->updateLayerPositionsAfterLayout(renderView()->layer(), updateLayerPos
itionFlags(layer, inSubtreeLayout, m_doFullPaintInvalidation)); |
973 renderView()->compositor()->setNeedsCompositingUpdate(CompositingUpdateAfter
Layout); | 973 renderView()->compositor()->didLayout(); |
974 | 974 |
975 m_layoutCount++; | 975 m_layoutCount++; |
976 | 976 |
977 if (AXObjectCache* cache = rootForThisLayout->document().axObjectCache()) { | 977 if (AXObjectCache* cache = rootForThisLayout->document().axObjectCache()) { |
978 const KURL& url = rootForThisLayout->document().url(); | 978 const KURL& url = rootForThisLayout->document().url(); |
979 if (url.isValid() && !url.isAboutBlankURL()) | 979 if (url.isValid() && !url.isAboutBlankURL()) |
980 cache->handleLayoutComplete(rootForThisLayout); | 980 cache->handleLayoutComplete(rootForThisLayout); |
981 } | 981 } |
982 updateAnnotatedRegions(); | 982 updateAnnotatedRegions(); |
983 | 983 |
(...skipping 2279 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3263 void FrameView::willRemoveScrollbar(Scrollbar* scrollbar, ScrollbarOrientation o
rientation) | 3263 void FrameView::willRemoveScrollbar(Scrollbar* scrollbar, ScrollbarOrientation o
rientation) |
3264 { | 3264 { |
3265 ScrollableArea::willRemoveScrollbar(scrollbar, orientation); | 3265 ScrollableArea::willRemoveScrollbar(scrollbar, orientation); |
3266 if (AXObjectCache* cache = axObjectCache()) { | 3266 if (AXObjectCache* cache = axObjectCache()) { |
3267 cache->remove(scrollbar); | 3267 cache->remove(scrollbar); |
3268 cache->handleScrollbarUpdate(this); | 3268 cache->handleScrollbarUpdate(this); |
3269 } | 3269 } |
3270 } | 3270 } |
3271 | 3271 |
3272 } // namespace WebCore | 3272 } // namespace WebCore |
OLD | NEW |