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