OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights
reserved. | 2 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010 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 12 matching lines...) Expand all Loading... |
23 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 23 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
24 */ | 24 */ |
25 | 25 |
26 #ifndef FrameSelection_h | 26 #ifndef FrameSelection_h |
27 #define FrameSelection_h | 27 #define FrameSelection_h |
28 | 28 |
29 #include "core/dom/Range.h" | 29 #include "core/dom/Range.h" |
30 #include "core/editing/Caret.h" | 30 #include "core/editing/Caret.h" |
31 #include "core/editing/EditingStyle.h" | 31 #include "core/editing/EditingStyle.h" |
32 #include "core/editing/VisibleSelection.h" | 32 #include "core/editing/VisibleSelection.h" |
33 #include "core/rendering/ScrollBehavior.h" | 33 #include "core/rendering/ScrollAlignment.h" |
34 #include "platform/Timer.h" | 34 #include "platform/Timer.h" |
35 #include "platform/geometry/IntRect.h" | 35 #include "platform/geometry/IntRect.h" |
36 #include "platform/geometry/LayoutRect.h" | 36 #include "platform/geometry/LayoutRect.h" |
37 #include "wtf/Noncopyable.h" | 37 #include "wtf/Noncopyable.h" |
38 | 38 |
39 namespace WebCore { | 39 namespace WebCore { |
40 | 40 |
41 class CharacterData; | 41 class CharacterData; |
42 class Frame; | 42 class Frame; |
43 class GraphicsContext; | 43 class GraphicsContext; |
(...skipping 238 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
282 } | 282 } |
283 } // namespace WebCore | 283 } // namespace WebCore |
284 | 284 |
285 #ifndef NDEBUG | 285 #ifndef NDEBUG |
286 // Outside the WebCore namespace for ease of invocation from gdb. | 286 // Outside the WebCore namespace for ease of invocation from gdb. |
287 void showTree(const WebCore::FrameSelection&); | 287 void showTree(const WebCore::FrameSelection&); |
288 void showTree(const WebCore::FrameSelection*); | 288 void showTree(const WebCore::FrameSelection*); |
289 #endif | 289 #endif |
290 | 290 |
291 #endif // FrameSelection_h | 291 #endif // FrameSelection_h |
OLD | NEW |