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

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

Issue 2289833002: Disable clipping on root scroller's ancestors. (Closed)
Patch Set: Created 4 years, 3 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
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 2602 matching lines...) Expand 10 before | Expand all | Expand 10 after
2613 2613
2614 DCHECK(lifecycle().state() >= DocumentLifecycle::CompositingClean); 2614 DCHECK(lifecycle().state() >= DocumentLifecycle::CompositingClean);
2615 2615
2616 if (targetState >= DocumentLifecycle::PrePaintClean) { 2616 if (targetState >= DocumentLifecycle::PrePaintClean) {
2617 if (!RuntimeEnabledFeatures::slimmingPaintInvalidationEnabled()) 2617 if (!RuntimeEnabledFeatures::slimmingPaintInvalidationEnabled())
2618 invalidateTreeIfNeededRecursive(); 2618 invalidateTreeIfNeededRecursive();
2619 2619
2620 if (view.compositor()->inCompositingMode()) 2620 if (view.compositor()->inCompositingMode())
2621 scrollingCoordinator()->updateAfterCompositingChangeIfNeeded (); 2621 scrollingCoordinator()->updateAfterCompositingChangeIfNeeded ();
2622 2622
2623 m_frame->document()->rootScrollerController()->didUpdateComposit ing();
2624 updateCompositedSelectionIfNeeded(); 2623 updateCompositedSelectionIfNeeded();
2625 } 2624 }
2626 } 2625 }
2627 2626
2628 if (targetState >= DocumentLifecycle::PrePaintClean) { 2627 if (targetState >= DocumentLifecycle::PrePaintClean) {
2629 if (RuntimeEnabledFeatures::slimmingPaintV2Enabled()) 2628 if (RuntimeEnabledFeatures::slimmingPaintV2Enabled())
2630 updatePaintProperties(); 2629 updatePaintProperties();
2631 } 2630 }
2632 2631
2633 if (targetState == DocumentLifecycle::PaintClean) { 2632 if (targetState == DocumentLifecycle::PaintClean) {
(...skipping 1688 matching lines...) Expand 10 before | Expand all | Expand 10 after
4322 } 4321 }
4323 4322
4324 bool FrameView::canThrottleRendering() const 4323 bool FrameView::canThrottleRendering() const
4325 { 4324 {
4326 if (!RuntimeEnabledFeatures::renderingPipelineThrottlingEnabled()) 4325 if (!RuntimeEnabledFeatures::renderingPipelineThrottlingEnabled())
4327 return false; 4326 return false;
4328 return m_subtreeThrottled || (m_hiddenForThrottling && m_crossOriginForThrot tling); 4327 return m_subtreeThrottled || (m_hiddenForThrottling && m_crossOriginForThrot tling);
4329 } 4328 }
4330 4329
4331 } // namespace blink 4330 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698