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

Side by Side Diff: Source/core/dom/Range.h

Issue 1006723003: Fix template angle bracket syntax in dom (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 9 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
« no previous file with comments | « Source/core/dom/NodeRenderingTraversal.cpp ('k') | Source/core/dom/ScriptRunner.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * (C) 1999 Lars Knoll (knoll@kde.org) 2 * (C) 1999 Lars Knoll (knoll@kde.org)
3 * (C) 2000 Gunnstein Lye (gunnstein@netcom.no) 3 * (C) 2000 Gunnstein Lye (gunnstein@netcom.no)
4 * (C) 2000 Frederik Holljen (frederik.holljen@hig.no) 4 * (C) 2000 Frederik Holljen (frederik.holljen@hig.no)
5 * (C) 2001 Peter Kelly (pmk@post.com) 5 * (C) 2001 Peter Kelly (pmk@post.com)
6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights reserv ed. 6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights reserv ed.
7 * 7 *
8 * This library is free software; you can redistribute it and/or 8 * This library is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Library General Public 9 * modify it under the terms of the GNU Library General Public
10 * License as published by the Free Software Foundation; either 10 * License as published by the Free Software Foundation; either
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after
165 165
166 void setDocument(Document&); 166 void setDocument(Document&);
167 167
168 Node* checkNodeWOffset(Node*, int offset, ExceptionState&) const; 168 Node* checkNodeWOffset(Node*, int offset, ExceptionState&) const;
169 void checkNodeBA(Node*, ExceptionState&) const; 169 void checkNodeBA(Node*, ExceptionState&) const;
170 void checkExtractPrecondition(ExceptionState&); 170 void checkExtractPrecondition(ExceptionState&);
171 171
172 enum ActionType { DELETE_CONTENTS, EXTRACT_CONTENTS, CLONE_CONTENTS }; 172 enum ActionType { DELETE_CONTENTS, EXTRACT_CONTENTS, CLONE_CONTENTS };
173 PassRefPtrWillBeRawPtr<DocumentFragment> processContents(ActionType, Excepti onState&); 173 PassRefPtrWillBeRawPtr<DocumentFragment> processContents(ActionType, Excepti onState&);
174 static PassRefPtrWillBeRawPtr<Node> processContentsBetweenOffsets(ActionType , PassRefPtrWillBeRawPtr<DocumentFragment>, Node*, unsigned startOffset, unsigne d endOffset, ExceptionState&); 174 static PassRefPtrWillBeRawPtr<Node> processContentsBetweenOffsets(ActionType , PassRefPtrWillBeRawPtr<DocumentFragment>, Node*, unsigned startOffset, unsigne d endOffset, ExceptionState&);
175 static void processNodes(ActionType, WillBeHeapVector<RefPtrWillBeMember<Nod e> >&, PassRefPtrWillBeRawPtr<Node> oldContainer, PassRefPtrWillBeRawPtr<Node> n ewContainer, ExceptionState&); 175 static void processNodes(ActionType, WillBeHeapVector<RefPtrWillBeMember<Nod e>>&, PassRefPtrWillBeRawPtr<Node> oldContainer, PassRefPtrWillBeRawPtr<Node> ne wContainer, ExceptionState&);
176 enum ContentsProcessDirection { ProcessContentsForward, ProcessContentsBackw ard }; 176 enum ContentsProcessDirection { ProcessContentsForward, ProcessContentsBackw ard };
177 static PassRefPtrWillBeRawPtr<Node> processAncestorsAndTheirSiblings(ActionT ype, Node* container, ContentsProcessDirection, PassRefPtrWillBeRawPtr<Node> clo nedContainer, Node* commonRoot, ExceptionState&); 177 static PassRefPtrWillBeRawPtr<Node> processAncestorsAndTheirSiblings(ActionT ype, Node* container, ContentsProcessDirection, PassRefPtrWillBeRawPtr<Node> clo nedContainer, Node* commonRoot, ExceptionState&);
178 178
179 RefPtrWillBeMember<Document> m_ownerDocument; // Cannot be null. 179 RefPtrWillBeMember<Document> m_ownerDocument; // Cannot be null.
180 RangeBoundaryPoint m_start; 180 RangeBoundaryPoint m_start;
181 RangeBoundaryPoint m_end; 181 RangeBoundaryPoint m_end;
182 }; 182 };
183 183
184 PassRefPtrWillBeRawPtr<Range> rangeOfContents(Node*); 184 PassRefPtrWillBeRawPtr<Range> rangeOfContents(Node*);
185 185
186 bool areRangesEqual(const Range*, const Range*); 186 bool areRangesEqual(const Range*, const Range*);
187 187
188 } // namespace blink 188 } // namespace blink
189 189
190 #ifndef NDEBUG 190 #ifndef NDEBUG
191 // Outside the WebCore namespace for ease of invocation from gdb. 191 // Outside the WebCore namespace for ease of invocation from gdb.
192 void showTree(const blink::Range*); 192 void showTree(const blink::Range*);
193 #endif 193 #endif
194 194
195 #endif // Range_h 195 #endif // Range_h
OLDNEW
« no previous file with comments | « Source/core/dom/NodeRenderingTraversal.cpp ('k') | Source/core/dom/ScriptRunner.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698