| 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 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 90 #include "core/paint/PaintLayer.h" | 90 #include "core/paint/PaintLayer.h" |
| 91 #include "core/paint/PrePaintTreeWalk.h" | 91 #include "core/paint/PrePaintTreeWalk.h" |
| 92 #include "core/plugins/PluginView.h" | 92 #include "core/plugins/PluginView.h" |
| 93 #include "core/style/ComputedStyle.h" | 93 #include "core/style/ComputedStyle.h" |
| 94 #include "core/svg/SVGDocumentExtensions.h" | 94 #include "core/svg/SVGDocumentExtensions.h" |
| 95 #include "core/svg/SVGSVGElement.h" | 95 #include "core/svg/SVGSVGElement.h" |
| 96 #include "platform/Histogram.h" | 96 #include "platform/Histogram.h" |
| 97 #include "platform/HostWindow.h" | 97 #include "platform/HostWindow.h" |
| 98 #include "platform/RuntimeEnabledFeatures.h" | 98 #include "platform/RuntimeEnabledFeatures.h" |
| 99 #include "platform/ScriptForbiddenScope.h" | 99 #include "platform/ScriptForbiddenScope.h" |
| 100 #include "platform/TraceEvent.h" | |
| 101 #include "platform/TracedValue.h" | |
| 102 #include "platform/fonts/FontCache.h" | 100 #include "platform/fonts/FontCache.h" |
| 103 #include "platform/geometry/DoubleRect.h" | 101 #include "platform/geometry/DoubleRect.h" |
| 104 #include "platform/geometry/FloatRect.h" | 102 #include "platform/geometry/FloatRect.h" |
| 105 #include "platform/geometry/LayoutRect.h" | 103 #include "platform/geometry/LayoutRect.h" |
| 106 #include "platform/graphics/GraphicsContext.h" | 104 #include "platform/graphics/GraphicsContext.h" |
| 107 #include "platform/graphics/GraphicsLayer.h" | 105 #include "platform/graphics/GraphicsLayer.h" |
| 108 #include "platform/graphics/GraphicsLayerDebugInfo.h" | 106 #include "platform/graphics/GraphicsLayerDebugInfo.h" |
| 109 #include "platform/graphics/compositing/PaintArtifactCompositor.h" | 107 #include "platform/graphics/compositing/PaintArtifactCompositor.h" |
| 110 #include "platform/graphics/paint/CullRect.h" | 108 #include "platform/graphics/paint/CullRect.h" |
| 111 #include "platform/graphics/paint/PaintController.h" | 109 #include "platform/graphics/paint/PaintController.h" |
| 112 #include "platform/graphics/paint/ScopedPaintChunkProperties.h" | 110 #include "platform/graphics/paint/ScopedPaintChunkProperties.h" |
| 113 #include "platform/json/JSONValues.h" | 111 #include "platform/json/JSONValues.h" |
| 114 #include "platform/scheduler/CancellableTaskFactory.h" | 112 #include "platform/scheduler/CancellableTaskFactory.h" |
| 115 #include "platform/scroll/ScrollAnimatorBase.h" | 113 #include "platform/scroll/ScrollAnimatorBase.h" |
| 116 #include "platform/scroll/ScrollbarTheme.h" | 114 #include "platform/scroll/ScrollbarTheme.h" |
| 117 #include "platform/text/TextStream.h" | 115 #include "platform/text/TextStream.h" |
| 116 #include "platform/tracing/TraceEvent.h" |
| 117 #include "platform/tracing/TracedValue.h" |
| 118 #include "public/platform/WebDisplayItemList.h" | 118 #include "public/platform/WebDisplayItemList.h" |
| 119 #include "public/platform/WebFrameScheduler.h" | 119 #include "public/platform/WebFrameScheduler.h" |
| 120 #include "wtf/CurrentTime.h" | 120 #include "wtf/CurrentTime.h" |
| 121 #include "wtf/PtrUtil.h" | 121 #include "wtf/PtrUtil.h" |
| 122 #include "wtf/StdLibExtras.h" | 122 #include "wtf/StdLibExtras.h" |
| 123 #include <memory> | 123 #include <memory> |
| 124 | 124 |
| 125 // Used to check for dirty layouts violating document lifecycle rules. | 125 // Used to check for dirty layouts violating document lifecycle rules. |
| 126 // If arg evaluates to true, the program will continue. If arg evaluates to | 126 // If arg evaluates to true, the program will continue. If arg evaluates to |
| 127 // false, program will crash if DCHECK_IS_ON() or return false from the current | 127 // false, program will crash if DCHECK_IS_ON() or return false from the current |
| (...skipping 4386 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4514 } | 4514 } |
| 4515 | 4515 |
| 4516 bool FrameView::canThrottleRendering() const { | 4516 bool FrameView::canThrottleRendering() const { |
| 4517 if (!RuntimeEnabledFeatures::renderingPipelineThrottlingEnabled()) | 4517 if (!RuntimeEnabledFeatures::renderingPipelineThrottlingEnabled()) |
| 4518 return false; | 4518 return false; |
| 4519 return m_subtreeThrottled || | 4519 return m_subtreeThrottled || |
| 4520 (m_hiddenForThrottling && m_crossOriginForThrottling); | 4520 (m_hiddenForThrottling && m_crossOriginForThrottling); |
| 4521 } | 4521 } |
| 4522 | 4522 |
| 4523 } // namespace blink | 4523 } // namespace blink |
| OLD | NEW |