| 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 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 70 class AnimationTimeline; | 70 class AnimationTimeline; |
| 71 class AXObjectCache; | 71 class AXObjectCache; |
| 72 class Attr; | 72 class Attr; |
| 73 class CDATASection; | 73 class CDATASection; |
| 74 class CSSStyleDeclaration; | 74 class CSSStyleDeclaration; |
| 75 class CSSStyleSheet; | 75 class CSSStyleSheet; |
| 76 class CancellableTaskFactory; | 76 class CancellableTaskFactory; |
| 77 class CanvasFontCache; | 77 class CanvasFontCache; |
| 78 class CanvasRenderingContext2D; | 78 class CanvasRenderingContext2D; |
| 79 class CanvasRenderingContext2DOrWebGLRenderingContext; | 79 class CanvasRenderingContext2DOrWebGLRenderingContext; |
| 80 class CharacterData; |
| 80 class ChromeClient; | 81 class ChromeClient; |
| 81 class CompositorPendingAnimations; | 82 class CompositorPendingAnimations; |
| 82 class Comment; | 83 class Comment; |
| 83 class ConsoleMessage; | 84 class ConsoleMessage; |
| 84 class ContextFeatures; | 85 class ContextFeatures; |
| 85 class V0CustomElementMicrotaskRunQueue; | 86 class V0CustomElementMicrotaskRunQueue; |
| 86 class V0CustomElementRegistrationContext; | 87 class V0CustomElementRegistrationContext; |
| 87 class DOMImplementation; | 88 class DOMImplementation; |
| 88 class DOMWindow; | 89 class DOMWindow; |
| 89 class DocumentFragment; | 90 class DocumentFragment; |
| (...skipping 543 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 633 | 634 |
| 634 void attachRange(Range*); | 635 void attachRange(Range*); |
| 635 void detachRange(Range*); | 636 void detachRange(Range*); |
| 636 | 637 |
| 637 void updateRangesAfterChildrenChanged(ContainerNode*); | 638 void updateRangesAfterChildrenChanged(ContainerNode*); |
| 638 void updateRangesAfterNodeMovedToAnotherDocument(const Node&); | 639 void updateRangesAfterNodeMovedToAnotherDocument(const Node&); |
| 639 // nodeChildrenWillBeRemoved is used when removing all node children at once
. | 640 // nodeChildrenWillBeRemoved is used when removing all node children at once
. |
| 640 void nodeChildrenWillBeRemoved(ContainerNode&); | 641 void nodeChildrenWillBeRemoved(ContainerNode&); |
| 641 // nodeWillBeRemoved is only safe when removing one node at a time. | 642 // nodeWillBeRemoved is only safe when removing one node at a time. |
| 642 void nodeWillBeRemoved(Node&); | 643 void nodeWillBeRemoved(Node&); |
| 644 // Called just before a destructive update to some CharacterData. |
| 645 void dataWillChange(const CharacterData&); |
| 643 bool canAcceptChild(const Node& newChild, const Node* oldChild, ExceptionSta
te&) const; | 646 bool canAcceptChild(const Node& newChild, const Node* oldChild, ExceptionSta
te&) const; |
| 644 | 647 |
| 645 void didInsertText(Node*, unsigned offset, unsigned length); | 648 void didInsertText(Node*, unsigned offset, unsigned length); |
| 646 void didRemoveText(Node*, unsigned offset, unsigned length); | 649 void didRemoveText(Node*, unsigned offset, unsigned length); |
| 647 void didMergeTextNodes(Text& oldNode, unsigned offset); | 650 void didMergeTextNodes(Text& oldNode, unsigned offset); |
| 648 void didSplitTextNode(Text& oldNode); | 651 void didSplitTextNode(Text& oldNode); |
| 649 | 652 |
| 650 void clearDOMWindow() { m_domWindow = nullptr; } | 653 void clearDOMWindow() { m_domWindow = nullptr; } |
| 651 LocalDOMWindow* domWindow() const { return m_domWindow; } | 654 LocalDOMWindow* domWindow() const { return m_domWindow; } |
| 652 | 655 |
| (...skipping 777 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1430 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true); | 1433 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true); |
| 1431 | 1434 |
| 1432 } // namespace blink | 1435 } // namespace blink |
| 1433 | 1436 |
| 1434 #ifndef NDEBUG | 1437 #ifndef NDEBUG |
| 1435 // Outside the WebCore namespace for ease of invocation from gdb. | 1438 // Outside the WebCore namespace for ease of invocation from gdb. |
| 1436 CORE_EXPORT void showLiveDocumentInstances(); | 1439 CORE_EXPORT void showLiveDocumentInstances(); |
| 1437 #endif | 1440 #endif |
| 1438 | 1441 |
| 1439 #endif // Document_h | 1442 #endif // Document_h |
| OLD | NEW |