Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(63)

Side by Side Diff: Source/core/frame/FrameView.cpp

Issue 250773002: Reland "Recompute overflow after transform changes" (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@build_hack
Patch Set: again... Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « Source/core/frame/FrameView.h ('k') | Source/core/rendering/RenderBlock.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 598 matching lines...) Expand 10 before | Expand all | Expand 10 after
609 } 609 }
610 } 610 }
611 } 611 }
612 612
613 void FrameView::updateAcceleratedCompositingSettings() 613 void FrameView::updateAcceleratedCompositingSettings()
614 { 614 {
615 if (RenderView* renderView = this->renderView()) 615 if (RenderView* renderView = this->renderView())
616 renderView->compositor()->updateAcceleratedCompositingSettings(); 616 renderView->compositor()->updateAcceleratedCompositingSettings();
617 } 617 }
618 618
619 void FrameView::recalcOverflowAfterStyleChange()
620 {
621 RenderView* renderView = this->renderView();
622 ASSERT(renderView);
623 if (!renderView->needsOverflowRecalcAfterStyleChange())
624 return;
625
626 renderView->recalcOverflowAfterStyleChange();
627
628 // FIXME: We should adjust frame scrollbar here, but that will make many
629 // tests flake in debug build.
630 }
631
619 void FrameView::updateCompositingLayersAfterStyleChange() 632 void FrameView::updateCompositingLayersAfterStyleChange()
620 { 633 {
621 RenderView* renderView = this->renderView(); 634 RenderView* renderView = this->renderView();
622 if (!renderView) 635 if (!renderView)
623 return; 636 return;
624 637
625 // FIXME: These early returns are probably not necessary anymore now that we 638 // FIXME: These early returns are probably not necessary anymore now that we
626 // just set dirty bits below. 639 // just set dirty bits below.
627 // If we expect to update compositing after an incipient layout, don't do so here. 640 // If we expect to update compositing after an incipient layout, don't do so here.
628 if (m_doingPreLayoutStyleUpdate || layoutPending() || renderView->needsLayou t()) 641 if (m_doingPreLayoutStyleUpdate || layoutPending() || renderView->needsLayou t())
(...skipping 2608 matching lines...) Expand 10 before | Expand all | Expand 10 after
3237 void FrameView::willRemoveScrollbar(Scrollbar* scrollbar, ScrollbarOrientation o rientation) 3250 void FrameView::willRemoveScrollbar(Scrollbar* scrollbar, ScrollbarOrientation o rientation)
3238 { 3251 {
3239 ScrollableArea::willRemoveScrollbar(scrollbar, orientation); 3252 ScrollableArea::willRemoveScrollbar(scrollbar, orientation);
3240 if (AXObjectCache* cache = axObjectCache()) { 3253 if (AXObjectCache* cache = axObjectCache()) {
3241 cache->remove(scrollbar); 3254 cache->remove(scrollbar);
3242 cache->handleScrollbarUpdate(this); 3255 cache->handleScrollbarUpdate(this);
3243 } 3256 }
3244 } 3257 }
3245 3258
3246 } // namespace WebCore 3259 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/core/frame/FrameView.h ('k') | Source/core/rendering/RenderBlock.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698