| 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 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 112 #include "platform/scroll/ScrollAnimatorBase.h" | 112 #include "platform/scroll/ScrollAnimatorBase.h" |
| 113 #include "platform/scroll/ScrollbarTheme.h" | 113 #include "platform/scroll/ScrollbarTheme.h" |
| 114 #include "platform/text/TextStream.h" | 114 #include "platform/text/TextStream.h" |
| 115 #include "public/platform/WebDisplayItemList.h" | 115 #include "public/platform/WebDisplayItemList.h" |
| 116 #include "public/platform/WebFrameScheduler.h" | 116 #include "public/platform/WebFrameScheduler.h" |
| 117 #include "wtf/CurrentTime.h" | 117 #include "wtf/CurrentTime.h" |
| 118 #include "wtf/PtrUtil.h" | 118 #include "wtf/PtrUtil.h" |
| 119 #include "wtf/StdLibExtras.h" | 119 #include "wtf/StdLibExtras.h" |
| 120 #include <memory> | 120 #include <memory> |
| 121 | 121 |
| 122 // Whitespace change should not trigger PRESUBMIT.py extra trybots. |
| 123 |
| 122 namespace blink { | 124 namespace blink { |
| 123 | 125 |
| 124 using namespace HTMLNames; | 126 using namespace HTMLNames; |
| 125 | 127 |
| 126 // The maximum number of updateWidgets iterations that should be done before ret
urning. | 128 // The maximum number of updateWidgets iterations that should be done before ret
urning. |
| 127 static const unsigned maxUpdateWidgetsIterations = 2; | 129 static const unsigned maxUpdateWidgetsIterations = 2; |
| 128 static const double resourcePriorityUpdateDelayAfterScroll = 0.250; | 130 static const double resourcePriorityUpdateDelayAfterScroll = 0.250; |
| 129 | 131 |
| 130 static bool s_initialTrackAllPaintInvalidations = false; | 132 static bool s_initialTrackAllPaintInvalidations = false; |
| 131 | 133 |
| (...skipping 4144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4276 } | 4278 } |
| 4277 | 4279 |
| 4278 bool FrameView::canThrottleRendering() const | 4280 bool FrameView::canThrottleRendering() const |
| 4279 { | 4281 { |
| 4280 if (!RuntimeEnabledFeatures::renderingPipelineThrottlingEnabled()) | 4282 if (!RuntimeEnabledFeatures::renderingPipelineThrottlingEnabled()) |
| 4281 return false; | 4283 return false; |
| 4282 return m_subtreeThrottled || (m_hiddenForThrottling && m_crossOriginForThrot
tling); | 4284 return m_subtreeThrottled || (m_hiddenForThrottling && m_crossOriginForThrot
tling); |
| 4283 } | 4285 } |
| 4284 | 4286 |
| 4285 } // namespace blink | 4287 } // namespace blink |
| OLD | NEW |