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

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

Issue 1965543002: [InputEvent] Support |sequence<Range> getRanges()| in 'beforeinput' (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: dtapuska's review Created 4 years, 7 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 * (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 153 matching lines...) Expand 10 before | Expand all | Expand 10 after
164 enum ContentsProcessDirection { ProcessContentsForward, ProcessContentsBackw ard }; 164 enum ContentsProcessDirection { ProcessContentsForward, ProcessContentsBackw ard };
165 static Node* processAncestorsAndTheirSiblings(ActionType, Node* container, C ontentsProcessDirection, Node* clonedContainer, Node* commonRoot, ExceptionState &); 165 static Node* processAncestorsAndTheirSiblings(ActionType, Node* container, C ontentsProcessDirection, Node* clonedContainer, Node* commonRoot, ExceptionState &);
166 166
167 Member<Document> m_ownerDocument; // Cannot be null. 167 Member<Document> m_ownerDocument; // Cannot be null.
168 RangeBoundaryPoint m_start; 168 RangeBoundaryPoint m_start;
169 RangeBoundaryPoint m_end; 169 RangeBoundaryPoint m_end;
170 }; 170 };
171 171
172 CORE_EXPORT bool areRangesEqual(const Range*, const Range*); 172 CORE_EXPORT bool areRangesEqual(const Range*, const Range*);
173 173
174 using HeapRanges = HeapVector<Member<Range>>;
chongz 2016/05/12 20:53:49 Is this the right place?
dtapuska 2016/05/13 13:27:17 I'd actually put where it is used; probably in the
chongz 2016/05/19 04:41:48 Done.
175
174 } // namespace blink 176 } // namespace blink
175 177
176 #ifndef NDEBUG 178 #ifndef NDEBUG
177 // Outside the WebCore namespace for ease of invocation from gdb. 179 // Outside the WebCore namespace for ease of invocation from gdb.
178 void showTree(const blink::Range*); 180 void showTree(const blink::Range*);
179 #endif 181 #endif
180 182
181 #endif // Range_h 183 #endif // Range_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698