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 965 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
976 | 976 |
977 if (!inSubtreeLayout && !toRenderView(rootForThisLayout)->document().printin
g()) | 977 if (!inSubtreeLayout && !toRenderView(rootForThisLayout)->document().printin
g()) |
978 adjustViewSize(); | 978 adjustViewSize(); |
979 | 979 |
980 layer->updateLayerPositionsAfterLayout(renderView()->layer(), updateLayerPos
itionFlags(layer, inSubtreeLayout, m_doFullRepaint)); | 980 layer->updateLayerPositionsAfterLayout(renderView()->layer(), updateLayerPos
itionFlags(layer, inSubtreeLayout, m_doFullRepaint)); |
981 | 981 |
982 updateCompositingLayersAfterLayout(); | 982 updateCompositingLayersAfterLayout(); |
983 | 983 |
984 m_layoutCount++; | 984 m_layoutCount++; |
985 | 985 |
986 if (AXObjectCache* cache = rootForThisLayout->document().existingAXObjectCac
he()) | 986 if (AXObjectCache* cache = rootForThisLayout->document().axObjectCache()) |
987 cache->postNotification(rootForThisLayout, AXObjectCache::AXLayoutComple
te, true); | 987 cache->handleLayoutComplete(rootForThisLayout); |
988 updateAnnotatedRegions(); | 988 updateAnnotatedRegions(); |
989 | 989 |
990 ASSERT(!rootForThisLayout->needsLayout()); | 990 ASSERT(!rootForThisLayout->needsLayout()); |
991 | 991 |
992 if (document->hasListenerType(Document::OVERFLOWCHANGED_LISTENER)) | 992 if (document->hasListenerType(Document::OVERFLOWCHANGED_LISTENER)) |
993 updateOverflowStatus(layoutSize().width() < contentsWidth(), layoutSize(
).height() < contentsHeight()); | 993 updateOverflowStatus(layoutSize().width() < contentsWidth(), layoutSize(
).height() < contentsHeight()); |
994 | 994 |
995 scheduleOrPerformPostLayoutTasks(); | 995 scheduleOrPerformPostLayoutTasks(); |
996 | 996 |
997 InspectorInstrumentation::didLayout(cookie, rootForThisLayout); | 997 InspectorInstrumentation::didLayout(cookie, rootForThisLayout); |
(...skipping 2215 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3213 void FrameView::willRemoveScrollbar(Scrollbar* scrollbar, ScrollbarOrientation o
rientation) | 3213 void FrameView::willRemoveScrollbar(Scrollbar* scrollbar, ScrollbarOrientation o
rientation) |
3214 { | 3214 { |
3215 ScrollableArea::willRemoveScrollbar(scrollbar, orientation); | 3215 ScrollableArea::willRemoveScrollbar(scrollbar, orientation); |
3216 if (AXObjectCache* cache = axObjectCache()) { | 3216 if (AXObjectCache* cache = axObjectCache()) { |
3217 cache->remove(scrollbar); | 3217 cache->remove(scrollbar); |
3218 cache->handleScrollbarUpdate(this); | 3218 cache->handleScrollbarUpdate(this); |
3219 } | 3219 } |
3220 } | 3220 } |
3221 | 3221 |
3222 } // namespace WebCore | 3222 } // namespace WebCore |
OLD | NEW |