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

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

Issue 1070233002: Remove dead code around anonymous renderers. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 8 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 | « sky/engine/core/dom/Node.cpp ('k') | sky/engine/core/dom/Position.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 * Copyright (C) 2004, 2006, 2008 Apple Inc. All rights reserved. 2 * Copyright (C) 2004, 2006, 2008 Apple Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after
176 bool isCandidate() const; 176 bool isCandidate() const;
177 bool inRenderedText() const; 177 bool inRenderedText() const;
178 bool isRenderedCharacter() const; 178 bool isRenderedCharacter() const;
179 bool rendersInDifferentPosition(const Position&) const; 179 bool rendersInDifferentPosition(const Position&) const;
180 180
181 void getInlineBoxAndOffset(EAffinity, InlineBox*&, int& caretOffset) const; 181 void getInlineBoxAndOffset(EAffinity, InlineBox*&, int& caretOffset) const;
182 void getInlineBoxAndOffset(EAffinity, TextDirection primaryDirection, Inline Box*&, int& caretOffset) const; 182 void getInlineBoxAndOffset(EAffinity, TextDirection primaryDirection, Inline Box*&, int& caretOffset) const;
183 183
184 TextDirection primaryDirection() const; 184 TextDirection primaryDirection() const;
185 185
186 static bool hasRenderedNonAnonymousDescendantsWithHeight(RenderObject*); 186 static bool hasRenderedDescendantsWithHeight(RenderObject*);
187 static bool nodeIsUserSelectNone(Node*); 187 static bool nodeIsUserSelectNone(Node*);
188 static bool nodeIsUserSelectAll(const Node*); 188 static bool nodeIsUserSelectAll(const Node*);
189 static Node* rootUserSelectAllForNode(Node*); 189 static Node* rootUserSelectAllForNode(Node*);
190 190
191 static ContainerNode* findParent(const Node*); 191 static ContainerNode* findParent(const Node*);
192 192
193 void debugPosition(const char* msg = "") const; 193 void debugPosition(const char* msg = "") const;
194 194
195 #ifndef NDEBUG 195 #ifndef NDEBUG
196 void formatForDebugger(char* buffer, unsigned length) const; 196 void formatForDebugger(char* buffer, unsigned length) const;
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
310 310
311 } // namespace blink 311 } // namespace blink
312 312
313 #ifndef NDEBUG 313 #ifndef NDEBUG
314 // Outside the WebCore namespace for ease of invocation from gdb. 314 // Outside the WebCore namespace for ease of invocation from gdb.
315 void showTree(const blink::Position&); 315 void showTree(const blink::Position&);
316 void showTree(const blink::Position*); 316 void showTree(const blink::Position*);
317 #endif 317 #endif
318 318
319 #endif // SKY_ENGINE_CORE_DOM_POSITION_H_ 319 #endif // SKY_ENGINE_CORE_DOM_POSITION_H_
OLDNEW
« no previous file with comments | « sky/engine/core/dom/Node.cpp ('k') | sky/engine/core/dom/Position.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698