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 21 matching lines...) Expand all Loading... |
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 "wtf/Assertions.h" |
36 #include "wtf/PassRefPtr.h" | 36 #include "wtf/PassRefPtr.h" |
37 #include "wtf/RefPtr.h" | 37 #include "wtf/RefPtr.h" |
38 | 38 |
39 namespace blink { | 39 namespace blink { |
40 | 40 |
41 class Node; | 41 class Node; |
42 class Text; | |
43 enum class TextAffinity; | 42 enum class TextAffinity; |
44 class TreeScope; | 43 class TreeScope; |
45 | 44 |
46 enum class PositionAnchorType : unsigned { | 45 enum class PositionAnchorType : unsigned { |
47 OffsetInAnchor, | 46 OffsetInAnchor, |
48 BeforeAnchor, | 47 BeforeAnchor, |
49 AfterAnchor, | 48 AfterAnchor, |
50 BeforeChildren, | 49 BeforeChildren, |
51 AfterChildren, | 50 AfterChildren, |
52 }; | 51 }; |
(...skipping 222 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
275 | 274 |
276 } // namespace blink | 275 } // namespace blink |
277 | 276 |
278 #ifndef NDEBUG | 277 #ifndef NDEBUG |
279 // Outside the WebCore namespace for ease of invocation from gdb. | 278 // Outside the WebCore namespace for ease of invocation from gdb. |
280 void showTree(const blink::Position&); | 279 void showTree(const blink::Position&); |
281 void showTree(const blink::Position*); | 280 void showTree(const blink::Position*); |
282 #endif | 281 #endif |
283 | 282 |
284 #endif // Position_h | 283 #endif // Position_h |
OLD | NEW |