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 1031 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1042 | 1042 |
1043 TRACE_EVENT1(TRACE_DISABLED_BY_DEFAULT("blink.invalidation"), "FrameView::re
paintTree", | 1043 TRACE_EVENT1(TRACE_DISABLED_BY_DEFAULT("blink.invalidation"), "FrameView::re
paintTree", |
1044 "root", TRACE_STR_COPY(root->debugName().ascii().data())); | 1044 "root", TRACE_STR_COPY(root->debugName().ascii().data())); |
1045 | 1045 |
1046 // FIXME: really, we're in the repaint phase here, and the compositing queri
es are legal. | 1046 // FIXME: really, we're in the repaint phase here, and the compositing queri
es are legal. |
1047 // Until those states are fully fledged, I'll just disable the ASSERTS. | 1047 // Until those states are fully fledged, I'll just disable the ASSERTS. |
1048 DisableCompositingQueryAsserts compositingQueryAssertsDisabler; | 1048 DisableCompositingQueryAsserts compositingQueryAssertsDisabler; |
1049 | 1049 |
1050 RootLayoutStateScope rootLayoutStateScope(*root); | 1050 RootLayoutStateScope rootLayoutStateScope(*root); |
1051 | 1051 |
1052 root->repaintTreeAfterLayout(); | 1052 root->repaintTreeAfterLayout(*root->containerForRepaint()); |
1053 | 1053 |
1054 // Repaint the frameviews scrollbars if needed | 1054 // Repaint the frameviews scrollbars if needed |
1055 if (hasVerticalBarDamage()) | 1055 if (hasVerticalBarDamage()) |
1056 invalidateRect(verticalBarDamage()); | 1056 invalidateRect(verticalBarDamage()); |
1057 if (hasHorizontalBarDamage()) | 1057 if (hasHorizontalBarDamage()) |
1058 invalidateRect(horizontalBarDamage()); | 1058 invalidateRect(horizontalBarDamage()); |
1059 resetScrollbarDamage(); | 1059 resetScrollbarDamage(); |
1060 } | 1060 } |
1061 | 1061 |
1062 DocumentLifecycle& FrameView::lifecycle() const | 1062 DocumentLifecycle& FrameView::lifecycle() const |
(...skipping 2194 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3257 void FrameView::willRemoveScrollbar(Scrollbar* scrollbar, ScrollbarOrientation o
rientation) | 3257 void FrameView::willRemoveScrollbar(Scrollbar* scrollbar, ScrollbarOrientation o
rientation) |
3258 { | 3258 { |
3259 ScrollableArea::willRemoveScrollbar(scrollbar, orientation); | 3259 ScrollableArea::willRemoveScrollbar(scrollbar, orientation); |
3260 if (AXObjectCache* cache = axObjectCache()) { | 3260 if (AXObjectCache* cache = axObjectCache()) { |
3261 cache->remove(scrollbar); | 3261 cache->remove(scrollbar); |
3262 cache->handleScrollbarUpdate(this); | 3262 cache->handleScrollbarUpdate(this); |
3263 } | 3263 } |
3264 } | 3264 } |
3265 | 3265 |
3266 } // namespace WebCore | 3266 } // namespace WebCore |
OLD | NEW |