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 1035 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1046 | 1046 |
1047 TRACE_EVENT1(TRACE_DISABLED_BY_DEFAULT("blink.invalidation"), "FrameView::re
paintTree", | 1047 TRACE_EVENT1(TRACE_DISABLED_BY_DEFAULT("blink.invalidation"), "FrameView::re
paintTree", |
1048 "root", TRACE_STR_COPY(root->debugName().ascii().data())); | 1048 "root", TRACE_STR_COPY(root->debugName().ascii().data())); |
1049 | 1049 |
1050 // FIXME: really, we're in the repaint phase here, and the compositing queri
es are legal. | 1050 // FIXME: really, we're in the repaint phase here, and the compositing queri
es are legal. |
1051 // Until those states are fully fledged, I'll just disable the ASSERTS. | 1051 // Until those states are fully fledged, I'll just disable the ASSERTS. |
1052 DisableCompositingQueryAsserts compositingQueryAssertsDisabler; | 1052 DisableCompositingQueryAsserts compositingQueryAssertsDisabler; |
1053 | 1053 |
1054 RootLayoutStateScope rootLayoutStateScope(*root); | 1054 RootLayoutStateScope rootLayoutStateScope(*root); |
1055 | 1055 |
1056 root->repaintTreeAfterLayout(); | 1056 root->repaintTreeAfterLayout(*root->containerForRepaint()); |
1057 | 1057 |
1058 // Repaint the frameviews scrollbars if needed | 1058 // Repaint the frameviews scrollbars if needed |
1059 if (hasVerticalBarDamage()) | 1059 if (hasVerticalBarDamage()) |
1060 invalidateRect(verticalBarDamage()); | 1060 invalidateRect(verticalBarDamage()); |
1061 if (hasHorizontalBarDamage()) | 1061 if (hasHorizontalBarDamage()) |
1062 invalidateRect(horizontalBarDamage()); | 1062 invalidateRect(horizontalBarDamage()); |
1063 resetScrollbarDamage(); | 1063 resetScrollbarDamage(); |
1064 } | 1064 } |
1065 | 1065 |
1066 DocumentLifecycle& FrameView::lifecycle() const | 1066 DocumentLifecycle& FrameView::lifecycle() const |
(...skipping 2218 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3285 void FrameView::willRemoveScrollbar(Scrollbar* scrollbar, ScrollbarOrientation o
rientation) | 3285 void FrameView::willRemoveScrollbar(Scrollbar* scrollbar, ScrollbarOrientation o
rientation) |
3286 { | 3286 { |
3287 ScrollableArea::willRemoveScrollbar(scrollbar, orientation); | 3287 ScrollableArea::willRemoveScrollbar(scrollbar, orientation); |
3288 if (AXObjectCache* cache = axObjectCache()) { | 3288 if (AXObjectCache* cache = axObjectCache()) { |
3289 cache->remove(scrollbar); | 3289 cache->remove(scrollbar); |
3290 cache->handleScrollbarUpdate(this); | 3290 cache->handleScrollbarUpdate(this); |
3291 } | 3291 } |
3292 } | 3292 } |
3293 | 3293 |
3294 } // namespace WebCore | 3294 } // namespace WebCore |
OLD | NEW |