| 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 21 matching lines...) Expand all Loading... |
| 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 "wtf/Allocator.h" |
| 39 | 39 |
| 40 namespace blink { | 40 namespace blink { |
| 41 | 41 |
| 42 class LayoutPoint; | |
| 43 class SelectionAdjuster; | 42 class SelectionAdjuster; |
| 44 | 43 |
| 45 const TextAffinity SelDefaultAffinity = TextAffinity::Downstream; | 44 const TextAffinity SelDefaultAffinity = TextAffinity::Downstream; |
| 46 enum SelectionDirection { | 45 enum SelectionDirection { |
| 47 DirectionForward, | 46 DirectionForward, |
| 48 DirectionBackward, | 47 DirectionBackward, |
| 49 DirectionRight, | 48 DirectionRight, |
| 50 DirectionLeft | 49 DirectionLeft |
| 51 }; | 50 }; |
| 52 | 51 |
| (...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 226 | 225 |
| 227 #ifndef NDEBUG | 226 #ifndef NDEBUG |
| 228 // Outside the WebCore namespace for ease of invocation from gdb. | 227 // Outside the WebCore namespace for ease of invocation from gdb. |
| 229 void showTree(const blink::VisibleSelection&); | 228 void showTree(const blink::VisibleSelection&); |
| 230 void showTree(const blink::VisibleSelection*); | 229 void showTree(const blink::VisibleSelection*); |
| 231 void showTree(const blink::VisibleSelectionInFlatTree&); | 230 void showTree(const blink::VisibleSelectionInFlatTree&); |
| 232 void showTree(const blink::VisibleSelectionInFlatTree*); | 231 void showTree(const blink::VisibleSelectionInFlatTree*); |
| 233 #endif | 232 #endif |
| 234 | 233 |
| 235 #endif // VisibleSelection_h | 234 #endif // VisibleSelection_h |
| OLD | NEW |