| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2004, 2005, 2006 Apple Computer, Inc. All rights reserved. | 2 * Copyright (C) 2004, 2005, 2006 Apple Computer, 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 13 matching lines...) Expand all Loading... |
| 24 */ | 24 */ |
| 25 | 25 |
| 26 #include "config.h" | 26 #include "config.h" |
| 27 #include "core/editing/VisibleSelection.h" | 27 #include "core/editing/VisibleSelection.h" |
| 28 | 28 |
| 29 #include "bindings/v8/ExceptionState.h" | 29 #include "bindings/v8/ExceptionState.h" |
| 30 #include "core/dom/Document.h" | 30 #include "core/dom/Document.h" |
| 31 #include "core/dom/Element.h" | 31 #include "core/dom/Element.h" |
| 32 #include "core/dom/Range.h" | 32 #include "core/dom/Range.h" |
| 33 #include "core/editing/TextIterator.h" | 33 #include "core/editing/TextIterator.h" |
| 34 #include "core/editing/VisiblePosition.h" | |
| 35 #include "core/editing/VisibleUnits.h" | 34 #include "core/editing/VisibleUnits.h" |
| 36 #include "core/editing/htmlediting.h" | 35 #include "core/editing/htmlediting.h" |
| 37 #include "core/rendering/RenderObject.h" | 36 #include "core/rendering/RenderObject.h" |
| 38 #include "platform/geometry/LayoutPoint.h" | 37 #include "platform/geometry/LayoutPoint.h" |
| 39 #include "wtf/Assertions.h" | 38 #include "wtf/Assertions.h" |
| 40 #include "wtf/text/CString.h" | 39 #include "wtf/text/CString.h" |
| 41 #include "wtf/text/StringBuilder.h" | 40 #include "wtf/text/StringBuilder.h" |
| 42 #include "wtf/unicode/CharacterNames.h" | 41 #include "wtf/unicode/CharacterNames.h" |
| 43 | 42 |
| 44 #ifndef NDEBUG | 43 #ifndef NDEBUG |
| (...skipping 695 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 740 sel.showTreeForThis(); | 739 sel.showTreeForThis(); |
| 741 } | 740 } |
| 742 | 741 |
| 743 void showTree(const WebCore::VisibleSelection* sel) | 742 void showTree(const WebCore::VisibleSelection* sel) |
| 744 { | 743 { |
| 745 if (sel) | 744 if (sel) |
| 746 sel->showTreeForThis(); | 745 sel->showTreeForThis(); |
| 747 } | 746 } |
| 748 | 747 |
| 749 #endif | 748 #endif |
| OLD | NEW |