OLD | NEW |
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "config.h" | 5 #include "config.h" |
6 | 6 |
7 #include <set> | 7 #include <set> |
8 | 8 |
9 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
10 | 10 |
11 MSVC_PUSH_WARNING_LEVEL(0); | 11 MSVC_PUSH_WARNING_LEVEL(0); |
12 #include "AnimationController.h" | 12 #include "AnimationController.h" |
13 #include "FrameLoader.h" | 13 #include "FrameLoader.h" |
14 #include "FrameTree.h" | 14 #include "FrameTree.h" |
15 #include "Document.h" | 15 #include "Document.h" |
16 #include "Element.h" | 16 #include "Element.h" |
17 #include "EventListener.h" | 17 #include "EventListener.h" |
18 #include "EventNames.h" | 18 #include "EventNames.h" |
19 #include "HTMLCollection.h" | 19 #include "HTMLAllCollection.h" |
20 #include "HTMLElement.h" | 20 #include "HTMLElement.h" |
21 #include "HTMLFormElement.h" | 21 #include "HTMLFormElement.h" |
22 #include "HTMLFrameOwnerElement.h" | 22 #include "HTMLFrameOwnerElement.h" |
23 #include "HTMLHeadElement.h" | 23 #include "HTMLHeadElement.h" |
24 #include "HTMLInputElement.h" | 24 #include "HTMLInputElement.h" |
25 #include "HTMLLinkElement.h" | 25 #include "HTMLLinkElement.h" |
26 #include "HTMLMetaElement.h" | 26 #include "HTMLMetaElement.h" |
27 #include "HTMLOptionElement.h" | 27 #include "HTMLOptionElement.h" |
28 #include "HTMLNames.h" | 28 #include "HTMLNames.h" |
29 #include "KURL.h" | 29 #include "KURL.h" |
(...skipping 723 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
753 WebCore::Frame* frame = static_cast<WebFrameImpl*>(web_frame)->frame(); | 753 WebCore::Frame* frame = static_cast<WebFrameImpl*>(web_frame)->frame(); |
754 WebCore::AnimationController* controller = frame->animation(); | 754 WebCore::AnimationController* controller = frame->animation(); |
755 if (!controller) | 755 if (!controller) |
756 return -1; | 756 return -1; |
757 | 757 |
758 return controller->numberOfActiveAnimations(); | 758 return controller->numberOfActiveAnimations(); |
759 } | 759 } |
760 | 760 |
761 | 761 |
762 } // webkit_glue | 762 } // webkit_glue |
OLD | NEW |