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

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

Issue 2289833002: Disable clipping on root scroller's ancestors. (Closed)
Patch Set: Undo changes to REF and moved comment 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 2616 matching lines...) Expand 10 before | Expand all | Expand 10 after
2627 2627
2628 DCHECK(lifecycle().state() >= DocumentLifecycle::CompositingClean); 2628 DCHECK(lifecycle().state() >= DocumentLifecycle::CompositingClean);
2629 2629
2630 if (targetState >= DocumentLifecycle::PrePaintClean) { 2630 if (targetState >= DocumentLifecycle::PrePaintClean) {
2631 if (!RuntimeEnabledFeatures::slimmingPaintInvalidationEnabled()) 2631 if (!RuntimeEnabledFeatures::slimmingPaintInvalidationEnabled())
2632 invalidateTreeIfNeededRecursive(); 2632 invalidateTreeIfNeededRecursive();
2633 2633
2634 if (view.compositor()->inCompositingMode()) 2634 if (view.compositor()->inCompositingMode())
2635 scrollingCoordinator()->updateAfterCompositingChangeIfNeeded (); 2635 scrollingCoordinator()->updateAfterCompositingChangeIfNeeded ();
2636 2636
2637 m_frame->document()->rootScrollerController()->didUpdateComposit ing();
2638 updateCompositedSelectionIfNeeded(); 2637 updateCompositedSelectionIfNeeded();
2639 } 2638 }
2640 } 2639 }
2641 2640
2642 if (targetState >= DocumentLifecycle::PrePaintClean) { 2641 if (targetState >= DocumentLifecycle::PrePaintClean) {
2643 if (RuntimeEnabledFeatures::slimmingPaintV2Enabled()) 2642 if (RuntimeEnabledFeatures::slimmingPaintV2Enabled())
2644 updatePaintProperties(); 2643 updatePaintProperties();
2645 } 2644 }
2646 2645
2647 if (targetState == DocumentLifecycle::PaintClean) { 2646 if (targetState == DocumentLifecycle::PaintClean) {
(...skipping 1698 matching lines...) Expand 10 before | Expand all | Expand 10 after
4346 } 4345 }
4347 4346
4348 bool FrameView::canThrottleRendering() const 4347 bool FrameView::canThrottleRendering() const
4349 { 4348 {
4350 if (!RuntimeEnabledFeatures::renderingPipelineThrottlingEnabled()) 4349 if (!RuntimeEnabledFeatures::renderingPipelineThrottlingEnabled())
4351 return false; 4350 return false;
4352 return m_subtreeThrottled || (m_hiddenForThrottling && m_crossOriginForThrot tling); 4351 return m_subtreeThrottled || (m_hiddenForThrottling && m_crossOriginForThrot tling);
4353 } 4352 }
4354 4353
4355 } // namespace blink 4354 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698