| 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 2339 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2350 bool FrameView::isPainting() const | 2350 bool FrameView::isPainting() const |
| 2351 { | 2351 { |
| 2352 return m_isPainting; | 2352 return m_isPainting; |
| 2353 } | 2353 } |
| 2354 | 2354 |
| 2355 void FrameView::setNodeToDraw(Node* node) | 2355 void FrameView::setNodeToDraw(Node* node) |
| 2356 { | 2356 { |
| 2357 m_nodeToDraw = node; | 2357 m_nodeToDraw = node; |
| 2358 } | 2358 } |
| 2359 | 2359 |
| 2360 Node* FrameView::nodeToDraw() const |
| 2361 { |
| 2362 return m_nodeToDraw.get(); |
| 2363 } |
| 2364 |
| 2360 void FrameView::updateWidgetPositionsIfNeeded() | 2365 void FrameView::updateWidgetPositionsIfNeeded() |
| 2361 { | 2366 { |
| 2362 if (!m_needsUpdateWidgetPositions) | 2367 if (!m_needsUpdateWidgetPositions) |
| 2363 return; | 2368 return; |
| 2364 | 2369 |
| 2365 m_needsUpdateWidgetPositions = false; | 2370 m_needsUpdateWidgetPositions = false; |
| 2366 | 2371 |
| 2367 updateWidgetPositions(); | 2372 updateWidgetPositions(); |
| 2368 } | 2373 } |
| 2369 | 2374 |
| (...skipping 1671 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4041 } | 4046 } |
| 4042 | 4047 |
| 4043 bool FrameView::canThrottleRendering() const | 4048 bool FrameView::canThrottleRendering() const |
| 4044 { | 4049 { |
| 4045 if (!RuntimeEnabledFeatures::renderingPipelineThrottlingEnabled()) | 4050 if (!RuntimeEnabledFeatures::renderingPipelineThrottlingEnabled()) |
| 4046 return false; | 4051 return false; |
| 4047 return m_hiddenForThrottling && m_crossOriginForThrottling; | 4052 return m_hiddenForThrottling && m_crossOriginForThrottling; |
| 4048 } | 4053 } |
| 4049 | 4054 |
| 4050 } // namespace blink | 4055 } // namespace blink |
| OLD | NEW |