| 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 2784 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2795 // Thus we have to check that it makes sense to do paint | 2795 // Thus we have to check that it makes sense to do paint |
| 2796 // invalidation onto them here. | 2796 // invalidation onto them here. |
| 2797 if (!childFrameView.layoutView()) | 2797 if (!childFrameView.layoutView()) |
| 2798 continue; | 2798 continue; |
| 2799 childFrameView.invalidateTreeIfNeededRecursiveInternal(); | 2799 childFrameView.invalidateTreeIfNeededRecursiveInternal(); |
| 2800 } | 2800 } |
| 2801 } | 2801 } |
| 2802 | 2802 |
| 2803 // Process objects needing paint invalidation on the next frame. See the def
inition of PaintInvalidationDelayedFull for more details. | 2803 // Process objects needing paint invalidation on the next frame. See the def
inition of PaintInvalidationDelayedFull for more details. |
| 2804 for (auto& target : pendingDelayedPaintInvalidations) | 2804 for (auto& target : pendingDelayedPaintInvalidations) |
| 2805 target->getMutableForPainting().setShouldDoDelayedFullPaintInvalidation(
); | 2805 target->getMutableForPainting().setShouldDoFullPaintInvalidation(PaintIn
validationDelayedFull); |
| 2806 } | 2806 } |
| 2807 | 2807 |
| 2808 void FrameView::enableAutoSizeMode(const IntSize& minSize, const IntSize& maxSiz
e) | 2808 void FrameView::enableAutoSizeMode(const IntSize& minSize, const IntSize& maxSiz
e) |
| 2809 { | 2809 { |
| 2810 if (!m_autoSizeInfo) | 2810 if (!m_autoSizeInfo) |
| 2811 m_autoSizeInfo = FrameViewAutoSizeInfo::create(this); | 2811 m_autoSizeInfo = FrameViewAutoSizeInfo::create(this); |
| 2812 | 2812 |
| 2813 m_autoSizeInfo->configureAutoSizeMode(minSize, maxSize); | 2813 m_autoSizeInfo->configureAutoSizeMode(minSize, maxSize); |
| 2814 setLayoutSizeFixedToFrameSize(true); | 2814 setLayoutSizeFixedToFrameSize(true); |
| 2815 setNeedsLayout(); | 2815 setNeedsLayout(); |
| (...skipping 1431 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4247 } | 4247 } |
| 4248 | 4248 |
| 4249 bool FrameView::canThrottleRendering() const | 4249 bool FrameView::canThrottleRendering() const |
| 4250 { | 4250 { |
| 4251 if (!RuntimeEnabledFeatures::renderingPipelineThrottlingEnabled()) | 4251 if (!RuntimeEnabledFeatures::renderingPipelineThrottlingEnabled()) |
| 4252 return false; | 4252 return false; |
| 4253 return m_subtreeThrottled || (m_hiddenForThrottling && m_crossOriginForThrot
tling); | 4253 return m_subtreeThrottled || (m_hiddenForThrottling && m_crossOriginForThrot
tling); |
| 4254 } | 4254 } |
| 4255 | 4255 |
| 4256 } // namespace blink | 4256 } // namespace blink |
| OLD | NEW |