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

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

Issue 2665823002: Invalidate caret during paint invalidation (Closed)
Patch Set: Rebaseline 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 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 71
72 namespace blink { 72 namespace blink {
73 73
74 class AnimationClock; 74 class AnimationClock;
75 class DocumentTimeline; 75 class DocumentTimeline;
76 class AXObjectCache; 76 class AXObjectCache;
77 class Attr; 77 class Attr;
78 class CDATASection; 78 class CDATASection;
79 class CSSStyleSheet; 79 class CSSStyleSheet;
80 class CanvasFontCache; 80 class CanvasFontCache;
81 class CharacterData;
82 class ChromeClient; 81 class ChromeClient;
83 class CompositorPendingAnimations; 82 class CompositorPendingAnimations;
84 class Comment; 83 class Comment;
85 class ComputedStyle; 84 class ComputedStyle;
86 class ConsoleMessage; 85 class ConsoleMessage;
87 class ContextFeatures; 86 class ContextFeatures;
88 class V0CustomElementMicrotaskRunQueue; 87 class V0CustomElementMicrotaskRunQueue;
89 class V0CustomElementRegistrationContext; 88 class V0CustomElementRegistrationContext;
90 class DOMImplementation; 89 class DOMImplementation;
91 class DOMWindow; 90 class DOMWindow;
(...skipping 650 matching lines...) Expand 10 before | Expand all | Expand 10 after
742 void moveNodeIteratorsToNewDocument(Node&, Document&); 741 void moveNodeIteratorsToNewDocument(Node&, Document&);
743 742
744 void attachRange(Range*); 743 void attachRange(Range*);
745 void detachRange(Range*); 744 void detachRange(Range*);
746 745
747 void didMoveTreeToNewDocument(const Node& root); 746 void didMoveTreeToNewDocument(const Node& root);
748 // nodeChildrenWillBeRemoved is used when removing all node children at once. 747 // nodeChildrenWillBeRemoved is used when removing all node children at once.
749 void nodeChildrenWillBeRemoved(ContainerNode&); 748 void nodeChildrenWillBeRemoved(ContainerNode&);
750 // nodeWillBeRemoved is only safe when removing one node at a time. 749 // nodeWillBeRemoved is only safe when removing one node at a time.
751 void nodeWillBeRemoved(Node&); 750 void nodeWillBeRemoved(Node&);
752 // Called just before a destructive update to some CharacterData.
753 void dataWillChange(const CharacterData&);
754 bool canAcceptChild(const Node& newChild, 751 bool canAcceptChild(const Node& newChild,
755 const Node* oldChild, 752 const Node* oldChild,
756 ExceptionState&) const; 753 ExceptionState&) const;
757 754
758 void didInsertText(Node*, unsigned offset, unsigned length); 755 void didInsertText(Node*, unsigned offset, unsigned length);
759 void didRemoveText(Node*, unsigned offset, unsigned length); 756 void didRemoveText(Node*, unsigned offset, unsigned length);
760 void didMergeTextNodes(const Text& mergedNode, 757 void didMergeTextNodes(const Text& mergedNode,
761 const Text& nodeToBeRemoved, 758 const Text& nodeToBeRemoved,
762 unsigned oldLength); 759 unsigned oldLength);
763 void didSplitTextNode(const Text& oldNode); 760 void didSplitTextNode(const Text& oldNode);
(...skipping 957 matching lines...) Expand 10 before | Expand all | Expand 10 after
1721 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true); 1718 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true);
1722 1719
1723 } // namespace blink 1720 } // namespace blink
1724 1721
1725 #ifndef NDEBUG 1722 #ifndef NDEBUG
1726 // Outside the WebCore namespace for ease of invocation from gdb. 1723 // Outside the WebCore namespace for ease of invocation from gdb.
1727 CORE_EXPORT void showLiveDocumentInstances(); 1724 CORE_EXPORT void showLiveDocumentInstances();
1728 #endif 1725 #endif
1729 1726
1730 #endif // Document_h 1727 #endif // Document_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698