| 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 22 matching lines...) Expand all Loading... |
| 33 #include "core/editing/TextIterator.h" | 33 #include "core/editing/TextIterator.h" |
| 34 #include "core/editing/VisiblePosition.h" | 34 #include "core/editing/VisiblePosition.h" |
| 35 #include "core/editing/VisibleUnits.h" | 35 #include "core/editing/VisibleUnits.h" |
| 36 #include "core/editing/htmlediting.h" | 36 #include "core/editing/htmlediting.h" |
| 37 #include "core/platform/graphics/LayoutPoint.h" | 37 #include "core/platform/graphics/LayoutPoint.h" |
| 38 #include "core/rendering/RenderObject.h" | 38 #include "core/rendering/RenderObject.h" |
| 39 #include "wtf/Assertions.h" | 39 #include "wtf/Assertions.h" |
| 40 #include "wtf/text/CString.h" | 40 #include "wtf/text/CString.h" |
| 41 #include "wtf/text/StringBuilder.h" | 41 #include "wtf/text/StringBuilder.h" |
| 42 #include "wtf/unicode/CharacterNames.h" | 42 #include "wtf/unicode/CharacterNames.h" |
| 43 |
| 44 #ifndef NDEBUG |
| 43 #include <stdio.h> | 45 #include <stdio.h> |
| 46 #endif |
| 44 | 47 |
| 45 namespace WebCore { | 48 namespace WebCore { |
| 46 | 49 |
| 47 VisibleSelection::VisibleSelection() | 50 VisibleSelection::VisibleSelection() |
| 48 : m_affinity(DOWNSTREAM) | 51 : m_affinity(DOWNSTREAM) |
| 49 , m_selectionType(NoSelection) | 52 , m_selectionType(NoSelection) |
| 50 , m_baseIsFirst(true) | 53 , m_baseIsFirst(true) |
| 51 , m_isDirectional(false) | 54 , m_isDirectional(false) |
| 52 { | 55 { |
| 53 } | 56 } |
| (...skipping 683 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 737 sel.showTreeForThis(); | 740 sel.showTreeForThis(); |
| 738 } | 741 } |
| 739 | 742 |
| 740 void showTree(const WebCore::VisibleSelection* sel) | 743 void showTree(const WebCore::VisibleSelection* sel) |
| 741 { | 744 { |
| 742 if (sel) | 745 if (sel) |
| 743 sel->showTreeForThis(); | 746 sel->showTreeForThis(); |
| 744 } | 747 } |
| 745 | 748 |
| 746 #endif | 749 #endif |
| OLD | NEW |