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 22 matching lines...) Expand all Loading... |
33 #include "core/animation/DocumentAnimations.h" | 33 #include "core/animation/DocumentAnimations.h" |
34 #include "core/css/FontFaceSet.h" | 34 #include "core/css/FontFaceSet.h" |
35 #include "core/css/resolver/StyleResolver.h" | 35 #include "core/css/resolver/StyleResolver.h" |
36 #include "core/dom/DocumentMarkerController.h" | 36 #include "core/dom/DocumentMarkerController.h" |
37 #include "core/editing/FrameSelection.h" | 37 #include "core/editing/FrameSelection.h" |
38 #include "core/events/OverflowEvent.h" | 38 #include "core/events/OverflowEvent.h" |
39 #include "core/fetch/ResourceFetcher.h" | 39 #include "core/fetch/ResourceFetcher.h" |
40 #include "core/fetch/ResourceLoadPriorityOptimizer.h" | 40 #include "core/fetch/ResourceLoadPriorityOptimizer.h" |
41 #include "core/frame/Frame.h" | 41 #include "core/frame/Frame.h" |
42 #include "core/frame/Settings.h" | 42 #include "core/frame/Settings.h" |
43 #include "core/frame/animation/AnimationController.h" | |
44 #include "core/html/HTMLFrameElement.h" | 43 #include "core/html/HTMLFrameElement.h" |
45 #include "core/html/HTMLPlugInElement.h" | 44 #include "core/html/HTMLPlugInElement.h" |
46 #include "core/html/parser/TextResourceDecoder.h" | 45 #include "core/html/parser/TextResourceDecoder.h" |
47 #include "core/inspector/InspectorInstrumentation.h" | 46 #include "core/inspector/InspectorInstrumentation.h" |
48 #include "core/loader/FrameLoader.h" | 47 #include "core/loader/FrameLoader.h" |
49 #include "core/loader/FrameLoaderClient.h" | 48 #include "core/loader/FrameLoaderClient.h" |
50 #include "core/page/Chrome.h" | 49 #include "core/page/Chrome.h" |
51 #include "core/page/ChromeClient.h" | 50 #include "core/page/ChromeClient.h" |
52 #include "core/page/EventHandler.h" | 51 #include "core/page/EventHandler.h" |
53 #include "core/page/FocusController.h" | 52 #include "core/page/FocusController.h" |
(...skipping 1847 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1901 if (RenderView* renderView = this->renderView()) | 1900 if (RenderView* renderView = this->renderView()) |
1902 renderView->setNeedsLayout(); | 1901 renderView->setNeedsLayout(); |
1903 } | 1902 } |
1904 | 1903 |
1905 void FrameView::serviceScriptedAnimations(double monotonicAnimationStartTime) | 1904 void FrameView::serviceScriptedAnimations(double monotonicAnimationStartTime) |
1906 { | 1905 { |
1907 TemporaryChange<bool> servicing(m_servicingAnimations, true); | 1906 TemporaryChange<bool> servicing(m_servicingAnimations, true); |
1908 | 1907 |
1909 for (RefPtr<Frame> frame = m_frame; frame; frame = frame->tree().traverseNex
t()) { | 1908 for (RefPtr<Frame> frame = m_frame; frame; frame = frame->tree().traverseNex
t()) { |
1910 frame->view()->serviceScrollAnimations(); | 1909 frame->view()->serviceScrollAnimations(); |
1911 if (!RuntimeEnabledFeatures::webAnimationsCSSEnabled()) | |
1912 frame->animation().serviceAnimations(); | |
1913 | |
1914 DocumentAnimations::serviceOnAnimationFrame(*frame->document(), monotoni
cAnimationStartTime); | 1910 DocumentAnimations::serviceOnAnimationFrame(*frame->document(), monotoni
cAnimationStartTime); |
1915 } | 1911 } |
1916 | 1912 |
1917 Vector<RefPtr<Document> > documents; | 1913 Vector<RefPtr<Document> > documents; |
1918 for (Frame* frame = m_frame.get(); frame; frame = frame->tree().traverseNext
()) | 1914 for (Frame* frame = m_frame.get(); frame; frame = frame->tree().traverseNext
()) |
1919 documents.append(frame->document()); | 1915 documents.append(frame->document()); |
1920 | 1916 |
1921 for (size_t i = 0; i < documents.size(); ++i) | 1917 for (size_t i = 0; i < documents.size(); ++i) |
1922 documents[i]->serviceScriptedAnimations(monotonicAnimationStartTime); | 1918 documents[i]->serviceScriptedAnimations(monotonicAnimationStartTime); |
1923 } | 1919 } |
(...skipping 1314 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3238 void FrameView::willRemoveScrollbar(Scrollbar* scrollbar, ScrollbarOrientation o
rientation) | 3234 void FrameView::willRemoveScrollbar(Scrollbar* scrollbar, ScrollbarOrientation o
rientation) |
3239 { | 3235 { |
3240 ScrollableArea::willRemoveScrollbar(scrollbar, orientation); | 3236 ScrollableArea::willRemoveScrollbar(scrollbar, orientation); |
3241 if (AXObjectCache* cache = axObjectCache()) { | 3237 if (AXObjectCache* cache = axObjectCache()) { |
3242 cache->remove(scrollbar); | 3238 cache->remove(scrollbar); |
3243 cache->handleScrollbarUpdate(this); | 3239 cache->handleScrollbarUpdate(this); |
3244 } | 3240 } |
3245 } | 3241 } |
3246 | 3242 |
3247 } // namespace WebCore | 3243 } // namespace WebCore |
OLD | NEW |