| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2004, 2005, 2006, 2009 Apple Inc. All rights reserved. | 2 * Copyright (C) 2004, 2005, 2006, 2009 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 25 matching lines...) Expand all Loading... |
| 36 #include "sky/engine/core/frame/LocalFrame.h" | 36 #include "sky/engine/core/frame/LocalFrame.h" |
| 37 #include "sky/engine/core/frame/Settings.h" | 37 #include "sky/engine/core/frame/Settings.h" |
| 38 #include "sky/engine/core/rendering/InlineIterator.h" | 38 #include "sky/engine/core/rendering/InlineIterator.h" |
| 39 #include "sky/engine/core/rendering/InlineTextBox.h" | 39 #include "sky/engine/core/rendering/InlineTextBox.h" |
| 40 #include "sky/engine/core/rendering/RenderBlock.h" | 40 #include "sky/engine/core/rendering/RenderBlock.h" |
| 41 #include "sky/engine/core/rendering/RenderInline.h" | 41 #include "sky/engine/core/rendering/RenderInline.h" |
| 42 #include "sky/engine/core/rendering/RenderParagraph.h" | 42 #include "sky/engine/core/rendering/RenderParagraph.h" |
| 43 #include "sky/engine/core/rendering/RenderText.h" | 43 #include "sky/engine/core/rendering/RenderText.h" |
| 44 #include "sky/engine/platform/Logging.h" | 44 #include "sky/engine/platform/Logging.h" |
| 45 #include "sky/engine/wtf/text/CString.h" | 45 #include "sky/engine/wtf/text/CString.h" |
| 46 #include "sky/engine/wtf/text/StringBuilder.h" |
| 46 #include "sky/engine/wtf/unicode/CharacterNames.h" | 47 #include "sky/engine/wtf/unicode/CharacterNames.h" |
| 47 | 48 |
| 48 namespace blink { | 49 namespace blink { |
| 49 | 50 |
| 50 static Node* nextRenderedEditable(Node* node) | 51 static Node* nextRenderedEditable(Node* node) |
| 51 { | 52 { |
| 52 for (node = node->nextLeafNode(); node; node = node->nextLeafNode()) { | 53 for (node = node->nextLeafNode(); node; node = node->nextLeafNode()) { |
| 53 RenderObject* renderer = node->renderer(); | 54 RenderObject* renderer = node->renderer(); |
| 54 if (!renderer) | 55 if (!renderer) |
| 55 continue; | 56 continue; |
| (...skipping 1177 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1233 pos.showTreeForThis(); | 1234 pos.showTreeForThis(); |
| 1234 } | 1235 } |
| 1235 | 1236 |
| 1236 void showTree(const blink::Position* pos) | 1237 void showTree(const blink::Position* pos) |
| 1237 { | 1238 { |
| 1238 if (pos) | 1239 if (pos) |
| 1239 pos->showTreeForThis(); | 1240 pos->showTreeForThis(); |
| 1240 } | 1241 } |
| 1241 | 1242 |
| 1242 #endif | 1243 #endif |
| OLD | NEW |