| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2004 Apple Computer, Inc. All rights reserved. | 2 * Copyright (C) 2004 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 17 matching lines...) Expand all Loading... |
| 28 | 28 |
| 29 #include "core/CoreExport.h" | 29 #include "core/CoreExport.h" |
| 30 #include "core/editing/EditingStrategy.h" | 30 #include "core/editing/EditingStrategy.h" |
| 31 #include "core/editing/EphemeralRange.h" | 31 #include "core/editing/EphemeralRange.h" |
| 32 #include "core/editing/SelectionTemplate.h" | 32 #include "core/editing/SelectionTemplate.h" |
| 33 #include "core/editing/SelectionType.h" | 33 #include "core/editing/SelectionType.h" |
| 34 #include "core/editing/TextAffinity.h" | 34 #include "core/editing/TextAffinity.h" |
| 35 #include "core/editing/TextGranularity.h" | 35 #include "core/editing/TextGranularity.h" |
| 36 #include "core/editing/VisiblePosition.h" | 36 #include "core/editing/VisiblePosition.h" |
| 37 #include "core/editing/VisibleUnits.h" | 37 #include "core/editing/VisibleUnits.h" |
| 38 #include "wtf/Allocator.h" | 38 #include "platform/wtf/Allocator.h" |
| 39 | 39 |
| 40 namespace blink { | 40 namespace blink { |
| 41 | 41 |
| 42 class SelectionAdjuster; | 42 class SelectionAdjuster; |
| 43 | 43 |
| 44 const TextAffinity kSelDefaultAffinity = TextAffinity::kDownstream; | 44 const TextAffinity kSelDefaultAffinity = TextAffinity::kDownstream; |
| 45 enum SelectionDirection { | 45 enum SelectionDirection { |
| 46 kDirectionForward, | 46 kDirectionForward, |
| 47 kDirectionBackward, | 47 kDirectionBackward, |
| 48 kDirectionRight, | 48 kDirectionRight, |
| (...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 204 | 204 |
| 205 #ifndef NDEBUG | 205 #ifndef NDEBUG |
| 206 // Outside the WebCore namespace for ease of invocation from gdb. | 206 // Outside the WebCore namespace for ease of invocation from gdb. |
| 207 void showTree(const blink::VisibleSelection&); | 207 void showTree(const blink::VisibleSelection&); |
| 208 void showTree(const blink::VisibleSelection*); | 208 void showTree(const blink::VisibleSelection*); |
| 209 void showTree(const blink::VisibleSelectionInFlatTree&); | 209 void showTree(const blink::VisibleSelectionInFlatTree&); |
| 210 void showTree(const blink::VisibleSelectionInFlatTree*); | 210 void showTree(const blink::VisibleSelectionInFlatTree*); |
| 211 #endif | 211 #endif |
| 212 | 212 |
| 213 #endif // VisibleSelection_h | 213 #endif // VisibleSelection_h |
| OLD | NEW |