OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2009, 2010, 2011 Apple Inc. | 2 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2009, 2010, 2011 Apple Inc. |
3 * All rights reserved. | 3 * All rights reserved. |
4 * | 4 * |
5 * This library is free software; you can redistribute it and/or | 5 * This library is free software; you can redistribute it and/or |
6 * modify it under the terms of the GNU Library General Public | 6 * modify it under the terms of the GNU Library General Public |
7 * License as published by the Free Software Foundation; either | 7 * License as published by the Free Software Foundation; either |
8 * version 2 of the License, or (at your option) any later version. | 8 * version 2 of the License, or (at your option) any later version. |
9 * | 9 * |
10 * This library is distributed in the hope that it will be useful, | 10 * This library is distributed in the hope that it will be useful, |
(...skipping 15 matching lines...) Expand all Loading... |
26 #include "core/layout/api/LineLayoutBoxModel.h" | 26 #include "core/layout/api/LineLayoutBoxModel.h" |
27 #include "core/layout/api/LineLayoutItem.h" | 27 #include "core/layout/api/LineLayoutItem.h" |
28 #include "core/layout/api/SelectionState.h" | 28 #include "core/layout/api/SelectionState.h" |
29 #include "platform/graphics/paint/DisplayItemClient.h" | 29 #include "platform/graphics/paint/DisplayItemClient.h" |
30 #include "platform/text/TextDirection.h" | 30 #include "platform/text/TextDirection.h" |
31 | 31 |
32 namespace blink { | 32 namespace blink { |
33 | 33 |
34 class HitTestRequest; | 34 class HitTestRequest; |
35 class HitTestResult; | 35 class HitTestResult; |
| 36 class InlineFlowBox; |
36 class LayoutObject; | 37 class LayoutObject; |
37 class RootInlineBox; | 38 class RootInlineBox; |
38 | 39 |
39 enum MarkLineBoxes { MarkLineBoxesDirty, DontMarkLineBoxes }; | 40 enum MarkLineBoxes { MarkLineBoxesDirty, DontMarkLineBoxes }; |
40 | 41 |
41 // InlineBox represents a rectangle that occurs on a line. It corresponds to | 42 // InlineBox represents a rectangle that occurs on a line. It corresponds to |
42 // some LayoutObject (i.e., it represents a portion of that LayoutObject). | 43 // some LayoutObject (i.e., it represents a portion of that LayoutObject). |
43 class CORE_EXPORT InlineBox : public DisplayItemClient { | 44 class CORE_EXPORT InlineBox : public DisplayItemClient { |
44 WTF_MAKE_NONCOPYABLE(InlineBox); | 45 WTF_MAKE_NONCOPYABLE(InlineBox); |
45 | 46 |
(...skipping 523 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
569 | 570 |
570 } // namespace blink | 571 } // namespace blink |
571 | 572 |
572 #ifndef NDEBUG | 573 #ifndef NDEBUG |
573 // Outside the WebCore namespace for ease of invocation from gdb. | 574 // Outside the WebCore namespace for ease of invocation from gdb. |
574 void showTree(const blink::InlineBox*); | 575 void showTree(const blink::InlineBox*); |
575 void showLineTree(const blink::InlineBox*); | 576 void showLineTree(const blink::InlineBox*); |
576 #endif | 577 #endif |
577 | 578 |
578 #endif // InlineBox_h | 579 #endif // InlineBox_h |
OLD | NEW |