| OLD | NEW |
| 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 14 matching lines...) Expand all Loading... |
| 25 | 25 |
| 26 #ifndef Position_h | 26 #ifndef Position_h |
| 27 #define Position_h | 27 #define Position_h |
| 28 | 28 |
| 29 #include "core/CoreExport.h" | 29 #include "core/CoreExport.h" |
| 30 #include "core/dom/ContainerNode.h" | 30 #include "core/dom/ContainerNode.h" |
| 31 #include "core/editing/EditingBoundary.h" | 31 #include "core/editing/EditingBoundary.h" |
| 32 #include "core/editing/EditingStrategy.h" | 32 #include "core/editing/EditingStrategy.h" |
| 33 #include "platform/heap/Handle.h" | 33 #include "platform/heap/Handle.h" |
| 34 #include "platform/text/TextDirection.h" | 34 #include "platform/text/TextDirection.h" |
| 35 #include "wtf/Assertions.h" | 35 #include "platform/wtf/Assertions.h" |
| 36 #include "wtf/PassRefPtr.h" | 36 #include "platform/wtf/PassRefPtr.h" |
| 37 #include "wtf/RefPtr.h" | 37 #include "platform/wtf/RefPtr.h" |
| 38 | 38 |
| 39 namespace blink { | 39 namespace blink { |
| 40 | 40 |
| 41 class Node; | 41 class Node; |
| 42 enum class TextAffinity; | 42 enum class TextAffinity; |
| 43 class TreeScope; | 43 class TreeScope; |
| 44 | 44 |
| 45 enum class PositionAnchorType : unsigned { | 45 enum class PositionAnchorType : unsigned { |
| 46 kOffsetInAnchor, | 46 kOffsetInAnchor, |
| 47 kBeforeAnchor, | 47 kBeforeAnchor, |
| (...skipping 227 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 275 | 275 |
| 276 } // namespace blink | 276 } // namespace blink |
| 277 | 277 |
| 278 #ifndef NDEBUG | 278 #ifndef NDEBUG |
| 279 // Outside the WebCore namespace for ease of invocation from gdb. | 279 // Outside the WebCore namespace for ease of invocation from gdb. |
| 280 void showTree(const blink::Position&); | 280 void showTree(const blink::Position&); |
| 281 void showTree(const blink::Position*); | 281 void showTree(const blink::Position*); |
| 282 #endif | 282 #endif |
| 283 | 283 |
| 284 #endif // Position_h | 284 #endif // Position_h |
| OLD | NEW |