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 * (C) 2001 Dirk Mueller (mueller@kde.org) | 4 * (C) 2001 Dirk Mueller (mueller@kde.org) |
5 * (C) 2006 Alexey Proskuryakov (ap@webkit.org) | 5 * (C) 2006 Alexey Proskuryakov (ap@webkit.org) |
6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2012 Apple Inc. All r
ights reserved. | 6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2012 Apple Inc. All r
ights reserved. |
7 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t
orchmobile.com/) | 7 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t
orchmobile.com/) |
8 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies) | 8 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies) |
9 * Copyright (C) 2011 Google Inc. All rights reserved. | 9 * Copyright (C) 2011 Google Inc. All rights reserved. |
10 * | 10 * |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
63 | 63 |
64 class AbstractModule; | 64 class AbstractModule; |
65 class AnimationTimeline; | 65 class AnimationTimeline; |
66 class Attr; | 66 class Attr; |
67 class CSSStyleDeclaration; | 67 class CSSStyleDeclaration; |
68 class CSSStyleSheet; | 68 class CSSStyleSheet; |
69 class CanvasRenderingContext2D; | 69 class CanvasRenderingContext2D; |
70 class Comment; | 70 class Comment; |
71 class ConsoleMessage; | 71 class ConsoleMessage; |
72 class CustomElementMicrotaskRunQueue; | 72 class CustomElementMicrotaskRunQueue; |
73 class CustomElementRegistrationContext; | |
74 class DocumentFragment; | 73 class DocumentFragment; |
75 class DocumentLifecycleNotifier; | 74 class DocumentLifecycleNotifier; |
76 class DocumentLoadTiming; | 75 class DocumentLoadTiming; |
77 class DocumentMarkerController; | 76 class DocumentMarkerController; |
78 class DocumentParser; | 77 class DocumentParser; |
79 class Element; | 78 class Element; |
80 class ElementDataCache; | 79 class ElementDataCache; |
81 class Event; | 80 class Event; |
82 class EventListener; | 81 class EventListener; |
83 class ExceptionState; | 82 class ExceptionState; |
84 class FloatQuad; | 83 class FloatQuad; |
85 class FloatRect; | 84 class FloatRect; |
86 class Frame; | 85 class Frame; |
87 class FrameHost; | 86 class FrameHost; |
88 class FrameView; | 87 class FrameView; |
89 class HTMLCanvasElement; | 88 class HTMLCanvasElement; |
90 class HTMLDocumentParser; | 89 class HTMLDocumentParser; |
91 class HTMLElement; | 90 class HTMLElement; |
92 class HTMLImport; | 91 class HTMLImport; |
93 class HTMLImportLoader; | 92 class HTMLImportLoader; |
94 class HTMLImportsController; | 93 class HTMLImportsController; |
95 class HTMLScriptElement; | 94 class HTMLScriptElement; |
96 class HitTestRequest; | 95 class HitTestRequest; |
97 class LayoutPoint; | 96 class LayoutPoint; |
98 class LocalDOMWindow; | 97 class LocalDOMWindow; |
99 class LocalFrame; | 98 class LocalFrame; |
100 class Location; | 99 class Location; |
101 class MediaQueryListListener; | 100 class MediaQueryListListener; |
102 class MediaQueryMatcher; | 101 class MediaQueryMatcher; |
| 102 class NewCustomElementRegistry; |
103 class Page; | 103 class Page; |
104 class QualifiedName; | 104 class QualifiedName; |
105 class Range; | 105 class Range; |
106 class RenderView; | 106 class RenderView; |
107 class RequestAnimationFrameCallback; | 107 class RequestAnimationFrameCallback; |
108 class ResourceFetcher; | 108 class ResourceFetcher; |
109 class ScriptRunner; | 109 class ScriptRunner; |
110 class ScriptedAnimationController; | 110 class ScriptedAnimationController; |
111 class SegmentedString; | 111 class SegmentedString; |
112 class SelectorQueryCache; | 112 class SelectorQueryCache; |
(...skipping 323 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
436 | 436 |
437 int requestAnimationFrame(PassOwnPtr<RequestAnimationFrameCallback>); | 437 int requestAnimationFrame(PassOwnPtr<RequestAnimationFrameCallback>); |
438 void cancelAnimationFrame(int id); | 438 void cancelAnimationFrame(int id); |
439 void serviceScriptedAnimations(double monotonicAnimationStartTime); | 439 void serviceScriptedAnimations(double monotonicAnimationStartTime); |
440 | 440 |
441 virtual EventTarget* errorEventTarget() override final; | 441 virtual EventTarget* errorEventTarget() override final; |
442 virtual void logExceptionToConsole(const String& errorMessage, int scriptId,
const String& sourceURL, int lineNumber, int columnNumber, PassRefPtr<ScriptCal
lStack>) override final; | 442 virtual void logExceptionToConsole(const String& errorMessage, int scriptId,
const String& sourceURL, int lineNumber, int columnNumber, PassRefPtr<ScriptCal
lStack>) override final; |
443 | 443 |
444 IntSize initialViewportSize() const; | 444 IntSize initialViewportSize() const; |
445 | 445 |
446 PassRefPtr<DartValue> registerElement(DartState*, const AtomicString& name,
ExceptionState&); | 446 void registerElement(const AtomicString& name, PassRefPtr<DartValue> type, E
xceptionState&); |
447 CustomElementRegistrationContext& registrationContext() { return *m_registra
tionContext; } | 447 NewCustomElementRegistry& elementRegistry() const { return *m_elementRegistr
y; } |
448 CustomElementMicrotaskRunQueue* customElementMicrotaskRunQueue(); | 448 CustomElementMicrotaskRunQueue* customElementMicrotaskRunQueue(); |
449 | 449 |
450 void setImportsController(HTMLImportsController*); | 450 void setImportsController(HTMLImportsController*); |
451 HTMLImportsController* importsController() const { return m_importsControlle
r; } | 451 HTMLImportsController* importsController() const { return m_importsControlle
r; } |
452 HTMLImportsController& ensureImportsController(); | 452 HTMLImportsController& ensureImportsController(); |
453 HTMLImportLoader* importLoader() const; | 453 HTMLImportLoader* importLoader() const; |
454 HTMLImport* import() const; | 454 HTMLImport* import() const; |
455 | 455 |
456 bool haveImportsLoaded() const; | 456 bool haveImportsLoaded() const; |
457 void didLoadAllImports(); | 457 void didLoadAllImports(); |
(...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
656 | 656 |
657 Length m_viewportDefaultMinWidth; | 657 Length m_viewportDefaultMinWidth; |
658 | 658 |
659 bool m_didSetReferrerPolicy; | 659 bool m_didSetReferrerPolicy; |
660 ReferrerPolicy m_referrerPolicy; | 660 ReferrerPolicy m_referrerPolicy; |
661 | 661 |
662 RefPtr<MediaQueryMatcher> m_mediaQueryMatcher; | 662 RefPtr<MediaQueryMatcher> m_mediaQueryMatcher; |
663 | 663 |
664 RefPtr<ScriptedAnimationController> m_scriptedAnimationController; | 664 RefPtr<ScriptedAnimationController> m_scriptedAnimationController; |
665 | 665 |
666 RefPtr<CustomElementRegistrationContext> m_registrationContext; | 666 RefPtr<NewCustomElementRegistry> m_elementRegistry; |
667 RefPtr<CustomElementMicrotaskRunQueue> m_customElementMicrotaskRunQueue; | 667 RefPtr<CustomElementMicrotaskRunQueue> m_customElementMicrotaskRunQueue; |
668 | 668 |
669 void elementDataCacheClearTimerFired(Timer<Document>*); | 669 void elementDataCacheClearTimerFired(Timer<Document>*); |
670 Timer<Document> m_elementDataCacheClearTimer; | 670 Timer<Document> m_elementDataCacheClearTimer; |
671 | 671 |
672 OwnPtr<ElementDataCache> m_elementDataCache; | 672 OwnPtr<ElementDataCache> m_elementDataCache; |
673 | 673 |
674 AnimationClock m_animationClock; | 674 AnimationClock m_animationClock; |
675 RefPtr<AnimationTimeline> m_timeline; | 675 RefPtr<AnimationTimeline> m_timeline; |
676 PendingAnimations m_pendingAnimations; | 676 PendingAnimations m_pendingAnimations; |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
714 } | 714 } |
715 | 715 |
716 } // namespace blink | 716 } // namespace blink |
717 | 717 |
718 #ifndef NDEBUG | 718 #ifndef NDEBUG |
719 // Outside the WebCore namespace for ease of invocation from gdb. | 719 // Outside the WebCore namespace for ease of invocation from gdb. |
720 void showLiveDocumentInstances(); | 720 void showLiveDocumentInstances(); |
721 #endif | 721 #endif |
722 | 722 |
723 #endif // SKY_ENGINE_CORE_DOM_DOCUMENT_H_ | 723 #endif // SKY_ENGINE_CORE_DOM_DOCUMENT_H_ |
OLD | NEW |