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 1869 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1880 if (RenderView* renderView = this->renderView()) | 1880 if (RenderView* renderView = this->renderView()) |
1881 renderView->setNeedsLayout(); | 1881 renderView->setNeedsLayout(); |
1882 } | 1882 } |
1883 | 1883 |
1884 void FrameView::serviceScriptedAnimations(double monotonicAnimationStartTime) | 1884 void FrameView::serviceScriptedAnimations(double monotonicAnimationStartTime) |
1885 { | 1885 { |
1886 TemporaryChange<bool> servicing(m_servicingAnimations, true); | 1886 TemporaryChange<bool> servicing(m_servicingAnimations, true); |
1887 | 1887 |
1888 for (RefPtr<Frame> frame = m_frame; frame; frame = frame->tree().traverseNex
t()) { | 1888 for (RefPtr<Frame> frame = m_frame; frame; frame = frame->tree().traverseNex
t()) { |
1889 frame->view()->serviceScrollAnimations(); | 1889 frame->view()->serviceScrollAnimations(); |
1890 DocumentAnimations::serviceOnAnimationFrame(*frame->document(), monotoni
cAnimationStartTime); | 1890 DocumentAnimations::serviceOnFrameStart(*frame->document(), monotonicAni
mationStartTime); |
1891 } | 1891 } |
1892 | 1892 |
1893 Vector<RefPtr<Document> > documents; | 1893 Vector<RefPtr<Document> > documents; |
1894 for (Frame* frame = m_frame.get(); frame; frame = frame->tree().traverseNext
()) | 1894 for (Frame* frame = m_frame.get(); frame; frame = frame->tree().traverseNext
()) |
1895 documents.append(frame->document()); | 1895 documents.append(frame->document()); |
1896 | 1896 |
1897 for (size_t i = 0; i < documents.size(); ++i) | 1897 for (size_t i = 0; i < documents.size(); ++i) |
1898 documents[i]->serviceScriptedAnimations(monotonicAnimationStartTime); | 1898 documents[i]->serviceScriptedAnimations(monotonicAnimationStartTime); |
1899 } | 1899 } |
1900 | 1900 |
(...skipping 1305 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3206 void FrameView::willRemoveScrollbar(Scrollbar* scrollbar, ScrollbarOrientation o
rientation) | 3206 void FrameView::willRemoveScrollbar(Scrollbar* scrollbar, ScrollbarOrientation o
rientation) |
3207 { | 3207 { |
3208 ScrollableArea::willRemoveScrollbar(scrollbar, orientation); | 3208 ScrollableArea::willRemoveScrollbar(scrollbar, orientation); |
3209 if (AXObjectCache* cache = axObjectCache()) { | 3209 if (AXObjectCache* cache = axObjectCache()) { |
3210 cache->remove(scrollbar); | 3210 cache->remove(scrollbar); |
3211 cache->handleScrollbarUpdate(this); | 3211 cache->handleScrollbarUpdate(this); |
3212 } | 3212 } |
3213 } | 3213 } |
3214 | 3214 |
3215 } // namespace WebCore | 3215 } // namespace WebCore |
OLD | NEW |