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

Side by Side Diff: sky/engine/core/dom/Range.h

Issue 723253004: Remove tons of OILPAN. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 1 month 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 | « sky/engine/core/dom/Position.cpp ('k') | sky/engine/core/dom/Range.cpp » ('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 121 matching lines...) Expand 10 before | Expand all | Expand 10 after
132 // for details. 132 // for details.
133 void expand(const String&, ExceptionState&); 133 void expand(const String&, ExceptionState&);
134 134
135 PassRefPtr<ClientRectList> getClientRects() const; 135 PassRefPtr<ClientRectList> getClientRects() const;
136 PassRefPtr<ClientRect> getBoundingClientRect() const; 136 PassRefPtr<ClientRect> getBoundingClientRect() const;
137 137
138 #ifndef NDEBUG 138 #ifndef NDEBUG
139 void formatForDebugger(char* buffer, unsigned length) const; 139 void formatForDebugger(char* buffer, unsigned length) const;
140 #endif 140 #endif
141 141
142 void trace(Visitor*);
143
144 private: 142 private:
145 explicit Range(Document&); 143 explicit Range(Document&);
146 Range(Document&, Node* startContainer, int startOffset, Node* endContainer, int endOffset); 144 Range(Document&, Node* startContainer, int startOffset, Node* endContainer, int endOffset);
147 145
148 void setDocument(Document&); 146 void setDocument(Document&);
149 147
150 Node* checkNodeWOffset(Node*, int offset, ExceptionState&) const; 148 Node* checkNodeWOffset(Node*, int offset, ExceptionState&) const;
151 void checkNodeBA(Node*, ExceptionState&) const; 149 void checkNodeBA(Node*, ExceptionState&) const;
152 void checkExtractPrecondition(ExceptionState&); 150 void checkExtractPrecondition(ExceptionState&);
153 151
(...skipping 14 matching lines...) Expand all
168 bool areRangesEqual(const Range*, const Range*); 166 bool areRangesEqual(const Range*, const Range*);
169 167
170 } // namespace blink 168 } // namespace blink
171 169
172 #ifndef NDEBUG 170 #ifndef NDEBUG
173 // Outside the WebCore namespace for ease of invocation from gdb. 171 // Outside the WebCore namespace for ease of invocation from gdb.
174 void showTree(const blink::Range*); 172 void showTree(const blink::Range*);
175 #endif 173 #endif
176 174
177 #endif // Range_h 175 #endif // Range_h
OLDNEW
« no previous file with comments | « sky/engine/core/dom/Position.cpp ('k') | sky/engine/core/dom/Range.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698