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

Side by Side Diff: Source/core/layout/BidiRunForLine.cpp

Issue 940373003: Rename RenderText to LayoutText (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 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
« no previous file with comments | « Source/core/layout/BidiRun.h ('k') | Source/core/layout/HitTestResult.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) 2000 Lars Knoll (knoll@kde.org) 2 * Copyright (C) 2000 Lars Knoll (knoll@kde.org)
3 * Copyright (C) 2003, 2004, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. 3 * Copyright (C) 2003, 2004, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc.
4 * All right reserved. 4 * All right reserved.
5 * Copyright (C) 2010 Google Inc. All rights reserved. 5 * Copyright (C) 2010 Google Inc. All rights reserved.
6 * 6 *
7 * This library is free software; you can redistribute it and/or 7 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Library General Public 8 * modify it under the terms of the GNU Library General Public
9 * License as published by the Free Software Foundation; either 9 * License as published by the Free Software Foundation; either
10 * version 2 of the License, or (at your option) any later version. 10 * version 2 of the License, or (at your option) any later version.
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 } 48 }
49 current = current->parent(); 49 current = current->parent();
50 } 50 }
51 51
52 if (!current) 52 if (!current)
53 current = root->slowFirstChild(); 53 current = root->slowFirstChild();
54 54
55 while (current) { 55 while (current) {
56 next = 0; 56 next = 0;
57 if (isIteratorTarget(current) && !(current->isText() 57 if (isIteratorTarget(current) && !(current->isText()
58 && toRenderText(current)->isAllCollapsibleWhitespace())) 58 && toLayoutText(current)->isAllCollapsibleWhitespace()))
59 break; 59 break;
60 60
61 if (!isIteratorTarget(current) 61 if (!isIteratorTarget(current)
62 && !isIsolated(current->style()->unicodeBidi())) 62 && !isIsolated(current->style()->unicodeBidi()))
63 next = current->slowFirstChild(); 63 next = current->slowFirstChild();
64 64
65 if (!next) { 65 if (!next) {
66 while (current && current != root) { 66 while (current && current != root) {
67 next = current->nextSibling(); 67 next = current->nextSibling();
68 if (next) 68 if (next)
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after
206 isolatedResolver.isolatedRuns()); 206 isolatedResolver.isolatedRuns());
207 currentRoot = isolatedInline; 207 currentRoot = isolatedInline;
208 restoreIsolatedMidpointStates(topResolver, isolatedResolver); 208 restoreIsolatedMidpointStates(topResolver, isolatedResolver);
209 } 209 }
210 } 210 }
211 } 211 }
212 212
213 } // namespace blink 213 } // namespace blink
214 214
215 #endif // BidiRunForLine_h 215 #endif // BidiRunForLine_h
OLDNEW
« no previous file with comments | « Source/core/layout/BidiRun.h ('k') | Source/core/layout/HitTestResult.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698