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 596 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
607 } | 607 } |
608 } | 608 } |
609 } | 609 } |
610 | 610 |
611 void FrameView::updateAcceleratedCompositingSettings() | 611 void FrameView::updateAcceleratedCompositingSettings() |
612 { | 612 { |
613 if (RenderView* renderView = this->renderView()) | 613 if (RenderView* renderView = this->renderView()) |
614 renderView->compositor()->updateAcceleratedCompositingSettings(); | 614 renderView->compositor()->updateAcceleratedCompositingSettings(); |
615 } | 615 } |
616 | 616 |
617 void FrameView::recalcOverflowAfterStyleChange() | |
618 { | |
619 RenderView* renderView = this->renderView(); | |
620 if (!renderView || !renderView->needsOverflowRecalcAfterStyleChange()) | |
621 return; | |
622 | |
623 renderView->recalcOverflowAfterStyleChange(); | |
624 | |
625 // FIXME: We should adjust frame scrollbar here, but that will make many | |
626 // tests flake in debug build. | |
627 } | |
628 | |
629 void FrameView::updateCompositingLayersAfterStyleChange() | 617 void FrameView::updateCompositingLayersAfterStyleChange() |
630 { | 618 { |
631 TRACE_EVENT0("webkit", "FrameView::updateCompositingLayersAfterStyleChange")
; | 619 TRACE_EVENT0("webkit", "FrameView::updateCompositingLayersAfterStyleChange")
; |
632 RenderView* renderView = this->renderView(); | 620 RenderView* renderView = this->renderView(); |
633 if (!renderView) | 621 if (!renderView) |
634 return; | 622 return; |
635 | 623 |
636 // If we expect to update compositing after an incipient layout, don't do so
here. | 624 // If we expect to update compositing after an incipient layout, don't do so
here. |
637 if (m_doingPreLayoutStyleUpdate || layoutPending() || renderView->needsLayou
t()) | 625 if (m_doingPreLayoutStyleUpdate || layoutPending() || renderView->needsLayou
t()) |
638 return; | 626 return; |
(...skipping 2601 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3240 void FrameView::willRemoveScrollbar(Scrollbar* scrollbar, ScrollbarOrientation o
rientation) | 3228 void FrameView::willRemoveScrollbar(Scrollbar* scrollbar, ScrollbarOrientation o
rientation) |
3241 { | 3229 { |
3242 ScrollableArea::willRemoveScrollbar(scrollbar, orientation); | 3230 ScrollableArea::willRemoveScrollbar(scrollbar, orientation); |
3243 if (AXObjectCache* cache = axObjectCache()) { | 3231 if (AXObjectCache* cache = axObjectCache()) { |
3244 cache->remove(scrollbar); | 3232 cache->remove(scrollbar); |
3245 cache->handleScrollbarUpdate(this); | 3233 cache->handleScrollbarUpdate(this); |
3246 } | 3234 } |
3247 } | 3235 } |
3248 | 3236 |
3249 } // namespace WebCore | 3237 } // namespace WebCore |
OLD | NEW |