| 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 2010 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2021 | 2021 |
| 2022 m_layoutTimer.stop(); | 2022 m_layoutTimer.stop(); |
| 2023 m_delayedLayout = false; | 2023 m_delayedLayout = false; |
| 2024 } | 2024 } |
| 2025 | 2025 |
| 2026 void FrameView::serviceScriptedAnimations(double monotonicAnimationStartTime) | 2026 void FrameView::serviceScriptedAnimations(double monotonicAnimationStartTime) |
| 2027 { | 2027 { |
| 2028 for (RefPtr<Frame> frame = m_frame; frame; frame = frame->tree()->traverseNe
xt()) { | 2028 for (RefPtr<Frame> frame = m_frame; frame; frame = frame->tree()->traverseNe
xt()) { |
| 2029 frame->view()->serviceScrollAnimations(); | 2029 frame->view()->serviceScrollAnimations(); |
| 2030 if (!RuntimeEnabledFeatures::webAnimationsCSSEnabled()) | 2030 if (!RuntimeEnabledFeatures::webAnimationsCSSEnabled()) |
| 2031 frame->animation()->serviceAnimations(); | 2031 frame->animation().serviceAnimations(); |
| 2032 if (RuntimeEnabledFeatures::webAnimationsEnabled()) | 2032 if (RuntimeEnabledFeatures::webAnimationsEnabled()) |
| 2033 frame->document()->timeline()->serviceAnimations(monotonicAnimationS
tartTime); | 2033 frame->document()->timeline()->serviceAnimations(monotonicAnimationS
tartTime); |
| 2034 } | 2034 } |
| 2035 | 2035 |
| 2036 Vector<RefPtr<Document> > documents; | 2036 Vector<RefPtr<Document> > documents; |
| 2037 for (Frame* frame = m_frame.get(); frame; frame = frame->tree()->traverseNex
t()) | 2037 for (Frame* frame = m_frame.get(); frame; frame = frame->tree()->traverseNex
t()) |
| 2038 documents.append(frame->document()); | 2038 documents.append(frame->document()); |
| 2039 | 2039 |
| 2040 for (size_t i = 0; i < documents.size(); ++i) | 2040 for (size_t i = 0; i < documents.size(); ++i) |
| 2041 documents[i]->serviceScriptedAnimations(monotonicAnimationStartTime); | 2041 documents[i]->serviceScriptedAnimations(monotonicAnimationStartTime); |
| (...skipping 1410 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3452 void FrameView::setLayoutSizeInternal(const IntSize& size) | 3452 void FrameView::setLayoutSizeInternal(const IntSize& size) |
| 3453 { | 3453 { |
| 3454 if (m_layoutSize == size) | 3454 if (m_layoutSize == size) |
| 3455 return; | 3455 return; |
| 3456 | 3456 |
| 3457 m_layoutSize = size; | 3457 m_layoutSize = size; |
| 3458 contentsResized(); | 3458 contentsResized(); |
| 3459 } | 3459 } |
| 3460 | 3460 |
| 3461 } // namespace WebCore | 3461 } // namespace WebCore |
| OLD | NEW |