Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(262)

Side by Side Diff: third_party/WebKit/Source/core/dom/Document.h

Issue 2665823002: Invalidate caret during paint invalidation (Closed)
Patch Set: NeedsRebaseline Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2012 Apple Inc. All
7 * rights reserved. 7 * rights reserved.
8 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. 8 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved.
9 * (http://www.torchmobile.com/) 9 * (http://www.torchmobile.com/)
10 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies) 10 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies)
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 enum class EngagementLevel : int32_t; 74 enum class EngagementLevel : int32_t;
75 } 75 }
76 76
77 class AnimationClock; 77 class AnimationClock;
78 class DocumentTimeline; 78 class DocumentTimeline;
79 class AXObjectCache; 79 class AXObjectCache;
80 class Attr; 80 class Attr;
81 class CDATASection; 81 class CDATASection;
82 class CSSStyleSheet; 82 class CSSStyleSheet;
83 class CanvasFontCache; 83 class CanvasFontCache;
84 class CharacterData;
85 class ChromeClient; 84 class ChromeClient;
86 class CompositorPendingAnimations; 85 class CompositorPendingAnimations;
87 class Comment; 86 class Comment;
88 class ComputedStyle; 87 class ComputedStyle;
89 class ConsoleMessage; 88 class ConsoleMessage;
90 class ContextFeatures; 89 class ContextFeatures;
91 class V0CustomElementMicrotaskRunQueue; 90 class V0CustomElementMicrotaskRunQueue;
92 class V0CustomElementRegistrationContext; 91 class V0CustomElementRegistrationContext;
93 class DOMImplementation; 92 class DOMImplementation;
94 class DOMWindow; 93 class DOMWindow;
(...skipping 650 matching lines...) Expand 10 before | Expand all | Expand 10 after
745 void moveNodeIteratorsToNewDocument(Node&, Document&); 744 void moveNodeIteratorsToNewDocument(Node&, Document&);
746 745
747 void attachRange(Range*); 746 void attachRange(Range*);
748 void detachRange(Range*); 747 void detachRange(Range*);
749 748
750 void didMoveTreeToNewDocument(const Node& root); 749 void didMoveTreeToNewDocument(const Node& root);
751 // nodeChildrenWillBeRemoved is used when removing all node children at once. 750 // nodeChildrenWillBeRemoved is used when removing all node children at once.
752 void nodeChildrenWillBeRemoved(ContainerNode&); 751 void nodeChildrenWillBeRemoved(ContainerNode&);
753 // nodeWillBeRemoved is only safe when removing one node at a time. 752 // nodeWillBeRemoved is only safe when removing one node at a time.
754 void nodeWillBeRemoved(Node&); 753 void nodeWillBeRemoved(Node&);
755 // Called just before a destructive update to some CharacterData.
756 void dataWillChange(const CharacterData&);
757 bool canAcceptChild(const Node& newChild, 754 bool canAcceptChild(const Node& newChild,
758 const Node* oldChild, 755 const Node* oldChild,
759 ExceptionState&) const; 756 ExceptionState&) const;
760 757
761 void didInsertText(Node*, unsigned offset, unsigned length); 758 void didInsertText(Node*, unsigned offset, unsigned length);
762 void didRemoveText(Node*, unsigned offset, unsigned length); 759 void didRemoveText(Node*, unsigned offset, unsigned length);
763 void didMergeTextNodes(const Text& mergedNode, 760 void didMergeTextNodes(const Text& mergedNode,
764 const Text& nodeToBeRemoved, 761 const Text& nodeToBeRemoved,
765 unsigned oldLength); 762 unsigned oldLength);
766 void didSplitTextNode(const Text& oldNode); 763 void didSplitTextNode(const Text& oldNode);
(...skipping 957 matching lines...) Expand 10 before | Expand all | Expand 10 after
1724 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true); 1721 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true);
1725 1722
1726 } // namespace blink 1723 } // namespace blink
1727 1724
1728 #ifndef NDEBUG 1725 #ifndef NDEBUG
1729 // Outside the WebCore namespace for ease of invocation from gdb. 1726 // Outside the WebCore namespace for ease of invocation from gdb.
1730 CORE_EXPORT void showLiveDocumentInstances(); 1727 CORE_EXPORT void showLiveDocumentInstances();
1731 #endif 1728 #endif
1732 1729
1733 #endif // Document_h 1730 #endif // Document_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/dom/CharacterData.cpp ('k') | third_party/WebKit/Source/core/dom/Document.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698