| 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 23 matching lines...) Expand all Loading... |
| 34 #include "sky/engine/core/animation/PendingAnimations.h" | 34 #include "sky/engine/core/animation/PendingAnimations.h" |
| 35 #include "sky/engine/core/dom/ContainerNode.h" | 35 #include "sky/engine/core/dom/ContainerNode.h" |
| 36 #include "sky/engine/core/dom/DocumentInit.h" | 36 #include "sky/engine/core/dom/DocumentInit.h" |
| 37 #include "sky/engine/core/dom/DocumentLifecycle.h" | 37 #include "sky/engine/core/dom/DocumentLifecycle.h" |
| 38 #include "sky/engine/core/dom/DocumentSupplementable.h" | 38 #include "sky/engine/core/dom/DocumentSupplementable.h" |
| 39 #include "sky/engine/core/dom/ExecutionContext.h" | 39 #include "sky/engine/core/dom/ExecutionContext.h" |
| 40 #include "sky/engine/core/dom/MutationObserver.h" | 40 #include "sky/engine/core/dom/MutationObserver.h" |
| 41 #include "sky/engine/core/dom/TextLinkColors.h" | 41 #include "sky/engine/core/dom/TextLinkColors.h" |
| 42 #include "sky/engine/core/dom/TreeScope.h" | 42 #include "sky/engine/core/dom/TreeScope.h" |
| 43 #include "sky/engine/core/dom/UserActionElementSet.h" | 43 #include "sky/engine/core/dom/UserActionElementSet.h" |
| 44 #include "sky/engine/core/dom/custom/CustomElement.h" | |
| 45 #include "sky/engine/core/fetch/ResourceClient.h" | 44 #include "sky/engine/core/fetch/ResourceClient.h" |
| 46 #include "sky/engine/core/loader/DocumentLoadTiming.h" | 45 #include "sky/engine/core/loader/DocumentLoadTiming.h" |
| 47 #include "sky/engine/core/page/FocusType.h" | 46 #include "sky/engine/core/page/FocusType.h" |
| 48 #include "sky/engine/core/page/PageVisibilityState.h" | 47 #include "sky/engine/core/page/PageVisibilityState.h" |
| 49 #include "sky/engine/platform/Length.h" | 48 #include "sky/engine/platform/Length.h" |
| 50 #include "sky/engine/platform/Timer.h" | 49 #include "sky/engine/platform/Timer.h" |
| 51 #include "sky/engine/platform/heap/Handle.h" | 50 #include "sky/engine/platform/heap/Handle.h" |
| 52 #include "sky/engine/platform/weborigin/KURL.h" | 51 #include "sky/engine/platform/weborigin/KURL.h" |
| 53 #include "sky/engine/platform/weborigin/ReferrerPolicy.h" | 52 #include "sky/engine/platform/weborigin/ReferrerPolicy.h" |
| 54 #include "sky/engine/wtf/HashSet.h" | 53 #include "sky/engine/wtf/HashSet.h" |
| 55 #include "sky/engine/wtf/OwnPtr.h" | 54 #include "sky/engine/wtf/OwnPtr.h" |
| 56 #include "sky/engine/wtf/PassOwnPtr.h" | 55 #include "sky/engine/wtf/PassOwnPtr.h" |
| 57 #include "sky/engine/wtf/PassRefPtr.h" | 56 #include "sky/engine/wtf/PassRefPtr.h" |
| 58 #include "sky/engine/wtf/WeakPtr.h" | 57 #include "sky/engine/wtf/WeakPtr.h" |
| 59 #include "sky/engine/wtf/text/TextEncoding.h" | 58 #include "sky/engine/wtf/text/TextEncoding.h" |
| 60 #include "sky/engine/wtf/text/TextPosition.h" | 59 #include "sky/engine/wtf/text/TextPosition.h" |
| 61 | 60 |
| 62 namespace blink { | 61 namespace blink { |
| 63 | 62 |
| 64 class AbstractModule; | 63 class AbstractModule; |
| 65 class AnimationTimeline; | 64 class AnimationTimeline; |
| 66 class Attr; | 65 class Attr; |
| 67 class CSSStyleDeclaration; | 66 class CSSStyleDeclaration; |
| 68 class CSSStyleSheet; | 67 class CSSStyleSheet; |
| 69 class CanvasRenderingContext2D; | 68 class CanvasRenderingContext2D; |
| 70 class Comment; | 69 class Comment; |
| 71 class ConsoleMessage; | 70 class ConsoleMessage; |
| 72 class CustomElementMicrotaskRunQueue; | |
| 73 class DocumentFragment; | 71 class DocumentFragment; |
| 74 class DocumentLifecycleNotifier; | 72 class DocumentLifecycleNotifier; |
| 75 class DocumentLoadTiming; | 73 class DocumentLoadTiming; |
| 76 class DocumentMarkerController; | 74 class DocumentMarkerController; |
| 77 class DocumentParser; | 75 class DocumentParser; |
| 78 class Element; | 76 class Element; |
| 79 class ElementDataCache; | 77 class ElementDataCache; |
| 80 class Event; | 78 class Event; |
| 81 class EventListener; | 79 class EventListener; |
| 82 class ExceptionState; | 80 class ExceptionState; |
| (...skipping 355 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 438 void cancelAnimationFrame(int id); | 436 void cancelAnimationFrame(int id); |
| 439 void serviceScriptedAnimations(double monotonicAnimationStartTime); | 437 void serviceScriptedAnimations(double monotonicAnimationStartTime); |
| 440 | 438 |
| 441 virtual EventTarget* errorEventTarget() override final; | 439 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; | 440 virtual void logExceptionToConsole(const String& errorMessage, int scriptId,
const String& sourceURL, int lineNumber, int columnNumber, PassRefPtr<ScriptCal
lStack>) override final; |
| 443 | 441 |
| 444 IntSize initialViewportSize() const; | 442 IntSize initialViewportSize() const; |
| 445 | 443 |
| 446 void registerElement(const AtomicString& name, PassRefPtr<DartValue> type, E
xceptionState&); | 444 void registerElement(const AtomicString& name, PassRefPtr<DartValue> type, E
xceptionState&); |
| 447 NewCustomElementRegistry& elementRegistry() const { return *m_elementRegistr
y; } | 445 NewCustomElementRegistry& elementRegistry() const { return *m_elementRegistr
y; } |
| 448 CustomElementMicrotaskRunQueue* customElementMicrotaskRunQueue(); | |
| 449 | 446 |
| 450 void setImportsController(HTMLImportsController*); | 447 void setImportsController(HTMLImportsController*); |
| 451 HTMLImportsController* importsController() const { return m_importsControlle
r; } | 448 HTMLImportsController* importsController() const { return m_importsControlle
r; } |
| 452 HTMLImportsController& ensureImportsController(); | 449 HTMLImportsController& ensureImportsController(); |
| 453 HTMLImportLoader* importLoader() const; | 450 HTMLImportLoader* importLoader() const; |
| 454 HTMLImport* import() const; | 451 HTMLImport* import() const; |
| 455 | 452 |
| 456 bool haveImportsLoaded() const; | 453 bool haveImportsLoaded() const; |
| 457 void didLoadAllImports(); | 454 void didLoadAllImports(); |
| 458 | 455 |
| (...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 657 Length m_viewportDefaultMinWidth; | 654 Length m_viewportDefaultMinWidth; |
| 658 | 655 |
| 659 bool m_didSetReferrerPolicy; | 656 bool m_didSetReferrerPolicy; |
| 660 ReferrerPolicy m_referrerPolicy; | 657 ReferrerPolicy m_referrerPolicy; |
| 661 | 658 |
| 662 RefPtr<MediaQueryMatcher> m_mediaQueryMatcher; | 659 RefPtr<MediaQueryMatcher> m_mediaQueryMatcher; |
| 663 | 660 |
| 664 RefPtr<ScriptedAnimationController> m_scriptedAnimationController; | 661 RefPtr<ScriptedAnimationController> m_scriptedAnimationController; |
| 665 | 662 |
| 666 RefPtr<NewCustomElementRegistry> m_elementRegistry; | 663 RefPtr<NewCustomElementRegistry> m_elementRegistry; |
| 667 RefPtr<CustomElementMicrotaskRunQueue> m_customElementMicrotaskRunQueue; | |
| 668 | 664 |
| 669 void elementDataCacheClearTimerFired(Timer<Document>*); | 665 void elementDataCacheClearTimerFired(Timer<Document>*); |
| 670 Timer<Document> m_elementDataCacheClearTimer; | 666 Timer<Document> m_elementDataCacheClearTimer; |
| 671 | 667 |
| 672 OwnPtr<ElementDataCache> m_elementDataCache; | 668 OwnPtr<ElementDataCache> m_elementDataCache; |
| 673 | 669 |
| 674 AnimationClock m_animationClock; | 670 AnimationClock m_animationClock; |
| 675 RefPtr<AnimationTimeline> m_timeline; | 671 RefPtr<AnimationTimeline> m_timeline; |
| 676 PendingAnimations m_pendingAnimations; | 672 PendingAnimations m_pendingAnimations; |
| 677 | 673 |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 714 } | 710 } |
| 715 | 711 |
| 716 } // namespace blink | 712 } // namespace blink |
| 717 | 713 |
| 718 #ifndef NDEBUG | 714 #ifndef NDEBUG |
| 719 // Outside the WebCore namespace for ease of invocation from gdb. | 715 // Outside the WebCore namespace for ease of invocation from gdb. |
| 720 void showLiveDocumentInstances(); | 716 void showLiveDocumentInstances(); |
| 721 #endif | 717 #endif |
| 722 | 718 |
| 723 #endif // SKY_ENGINE_CORE_DOM_DOCUMENT_H_ | 719 #endif // SKY_ENGINE_CORE_DOM_DOCUMENT_H_ |
| OLD | NEW |