| 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 |
| (...skipping 13 matching lines...) Expand all Loading... |
| 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" |
| 30 MSVC_POP_WARNING(); | 30 MSVC_POP_WARNING(); |
| 31 #undef LOG | 31 #undef LOG |
| 32 | 32 |
| 33 #include "base/string_util.h" | 33 #include "base/string_util.h" |
| 34 #include "webkit/api/public/WebVector.h" | 34 #include "third_party/WebKit/WebKit/chromium/public/WebVector.h" |
| 35 #include "webkit/api/public/WebView.h" | 35 #include "third_party/WebKit/WebKit/chromium/public/WebView.h" |
| 36 // TODO(yaar) Eventually should not depend on api/src. | 36 // TODO(yaar) Eventually should not depend on api/src. |
| 37 #include "webkit/api/src/DOMUtilitiesPrivate.h" | 37 #include "third_party/WebKit/WebKit/chromium/src/DOMUtilitiesPrivate.h" |
| 38 #include "webkit/api/src/WebFrameImpl.h" | 38 #include "third_party/WebKit/WebKit/chromium/src/WebFrameImpl.h" |
| 39 #include "webkit/glue/dom_operations.h" | 39 #include "webkit/glue/dom_operations.h" |
| 40 #include "webkit/glue/dom_operations_private.h" | 40 #include "webkit/glue/dom_operations_private.h" |
| 41 #include "webkit/glue/form_data.h" | 41 #include "webkit/glue/form_data.h" |
| 42 #include "webkit/glue/glue_util.h" | 42 #include "webkit/glue/glue_util.h" |
| 43 #include "webkit/glue/webpasswordautocompletelistener_impl.h" | 43 #include "webkit/glue/webpasswordautocompletelistener_impl.h" |
| 44 | 44 |
| 45 using WebCore::String; | 45 using WebCore::String; |
| 46 using WebKit::FrameLoaderClientImpl; | 46 using WebKit::FrameLoaderClientImpl; |
| 47 using WebKit::WebFormElement; | 47 using WebKit::WebFormElement; |
| 48 using WebKit::WebFrame; | 48 using WebKit::WebFrame; |
| (...skipping 706 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 755 WebCore::Frame* frame = static_cast<WebFrameImpl*>(web_frame)->frame(); | 755 WebCore::Frame* frame = static_cast<WebFrameImpl*>(web_frame)->frame(); |
| 756 WebCore::AnimationController* controller = frame->animation(); | 756 WebCore::AnimationController* controller = frame->animation(); |
| 757 if (!controller) | 757 if (!controller) |
| 758 return -1; | 758 return -1; |
| 759 | 759 |
| 760 return controller->numberOfActiveAnimations(); | 760 return controller->numberOfActiveAnimations(); |
| 761 } | 761 } |
| 762 | 762 |
| 763 | 763 |
| 764 } // webkit_glue | 764 } // webkit_glue |
| OLD | NEW |