OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) |
3 * (C) 1999 Antti Koivisto (koivisto@kde.org) | 3 * (C) 1999 Antti Koivisto (koivisto@kde.org) |
4 * Copyright (C) 2003, 2007, 2010 Apple Inc. All rights reserved. | 4 * Copyright (C) 2003, 2007, 2010 Apple Inc. All rights reserved. |
5 * | 5 * |
6 * This library is free software; you can redistribute it and/or | 6 * This library is free software; you can redistribute it and/or |
7 * modify it under the terms of the GNU Library General Public | 7 * modify it under the terms of the GNU Library General Public |
8 * License as published by the Free Software Foundation; either | 8 * License as published by the Free Software Foundation; either |
9 * version 2 of the License, or (at your option) any later version. | 9 * version 2 of the License, or (at your option) any later version. |
10 * | 10 * |
11 * This library is distributed in the hope that it will be useful, | 11 * This library is distributed in the hope that it will be useful, |
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 12 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
14 * Library General Public License for more details. | 14 * Library General Public License for more details. |
15 * | 15 * |
16 * You should have received a copy of the GNU Library General Public License | 16 * You should have received a copy of the GNU Library General Public License |
17 * along with this library; see the file COPYING.LIB. If not, write to | 17 * along with this library; see the file COPYING.LIB. If not, write to |
18 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | 18 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
19 * Boston, MA 02110-1301, USA. | 19 * Boston, MA 02110-1301, USA. |
20 * | 20 * |
21 */ | 21 */ |
22 | 22 |
23 #include "core/html/HTMLMarqueeElement.h" | 23 #include "core/html/HTMLMarqueeElement.h" |
24 | 24 |
| 25 #include <cstdlib> |
25 #include "bindings/core/v8/ExceptionState.h" | 26 #include "bindings/core/v8/ExceptionState.h" |
26 #include "bindings/core/v8/V8HTMLMarqueeElement.h" | 27 #include "bindings/core/v8/V8HTMLMarqueeElement.h" |
27 #include "core/CSSPropertyNames.h" | 28 #include "core/CSSPropertyNames.h" |
28 #include "core/HTMLNames.h" | 29 #include "core/HTMLNames.h" |
29 #include "core/animation/DocumentTimeline.h" | 30 #include "core/animation/DocumentTimeline.h" |
30 #include "core/animation/KeyframeEffect.h" | 31 #include "core/animation/KeyframeEffect.h" |
31 #include "core/animation/KeyframeEffectModel.h" | 32 #include "core/animation/KeyframeEffectModel.h" |
32 #include "core/animation/KeyframeEffectOptions.h" | 33 #include "core/animation/KeyframeEffectOptions.h" |
33 #include "core/animation/StringKeyframe.h" | 34 #include "core/animation/StringKeyframe.h" |
34 #include "core/animation/TimingInput.h" | 35 #include "core/animation/TimingInput.h" |
35 #include "core/css/CSSStyleDeclaration.h" | 36 #include "core/css/CSSStyleDeclaration.h" |
36 #include "core/css/StylePropertySet.h" | 37 #include "core/css/StylePropertySet.h" |
37 #include "core/dom/Document.h" | 38 #include "core/dom/Document.h" |
38 #include "core/dom/FrameRequestCallback.h" | 39 #include "core/dom/FrameRequestCallback.h" |
39 #include "core/dom/shadow/ShadowRoot.h" | 40 #include "core/dom/shadow/ShadowRoot.h" |
40 #include "core/frame/LocalDOMWindow.h" | 41 #include "core/frame/LocalDOMWindow.h" |
41 #include "core/frame/UseCounter.h" | 42 #include "core/frame/UseCounter.h" |
42 #include "core/html/HTMLContentElement.h" | 43 #include "core/html/HTMLContentElement.h" |
43 #include "core/html/HTMLDivElement.h" | 44 #include "core/html/HTMLDivElement.h" |
44 #include "core/html/HTMLStyleElement.h" | 45 #include "core/html/HTMLStyleElement.h" |
45 #include "wtf/Noncopyable.h" | 46 #include "wtf/Noncopyable.h" |
46 #include <cstdlib> | |
47 | 47 |
48 namespace blink { | 48 namespace blink { |
49 | 49 |
50 inline HTMLMarqueeElement::HTMLMarqueeElement(Document& document) | 50 inline HTMLMarqueeElement::HTMLMarqueeElement(Document& document) |
51 : HTMLElement(HTMLNames::marqueeTag, document) { | 51 : HTMLElement(HTMLNames::marqueeTag, document) { |
52 UseCounter::count(document, UseCounter::HTMLMarqueeElement); | 52 UseCounter::count(document, UseCounter::HTMLMarqueeElement); |
53 } | 53 } |
54 | 54 |
55 HTMLMarqueeElement* HTMLMarqueeElement::create(Document& document) { | 55 HTMLMarqueeElement* HTMLMarqueeElement::create(Document& document) { |
56 HTMLMarqueeElement* marqueeElement = new HTMLMarqueeElement(document); | 56 HTMLMarqueeElement* marqueeElement = new HTMLMarqueeElement(document); |
(...skipping 432 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
489 String::numberToStringECMAScript(value) + "px)"; | 489 String::numberToStringECMAScript(value) + "px)"; |
490 } | 490 } |
491 | 491 |
492 DEFINE_TRACE(HTMLMarqueeElement) { | 492 DEFINE_TRACE(HTMLMarqueeElement) { |
493 visitor->trace(m_mover); | 493 visitor->trace(m_mover); |
494 visitor->trace(m_player); | 494 visitor->trace(m_player); |
495 HTMLElement::trace(visitor); | 495 HTMLElement::trace(visitor); |
496 } | 496 } |
497 | 497 |
498 } // namespace blink | 498 } // namespace blink |
OLD | NEW |