OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) |
3 * (C) 1999 Antti Koivisto (koivisto@kde.org) | 3 * (C) 1999 Antti Koivisto (koivisto@kde.org) |
4 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. | 4 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. |
5 * All rights reserved. | 5 * All rights reserved. |
6 * | 6 * |
7 * This library is free software; you can redistribute it and/or | 7 * This library is free software; you can redistribute it and/or |
8 * modify it under the terms of the GNU Library General Public | 8 * modify it under the terms of the GNU Library General Public |
9 * License as published by the Free Software Foundation; either | 9 * License as published by the Free Software Foundation; either |
10 * version 2 of the License, or (at your option) any later version. | 10 * version 2 of the License, or (at your option) any later version. |
(...skipping 19 matching lines...) Expand all Loading... |
30 #include "core/layout/LayoutFullScreen.h" | 30 #include "core/layout/LayoutFullScreen.h" |
31 #include "core/layout/LayoutGeometryMap.h" | 31 #include "core/layout/LayoutGeometryMap.h" |
32 #include "core/layout/LayoutTheme.h" | 32 #include "core/layout/LayoutTheme.h" |
33 #include "core/layout/LayoutView.h" | 33 #include "core/layout/LayoutView.h" |
34 #include "core/layout/api/LineLayoutBoxModel.h" | 34 #include "core/layout/api/LineLayoutBoxModel.h" |
35 #include "core/layout/line/InlineTextBox.h" | 35 #include "core/layout/line/InlineTextBox.h" |
36 #include "core/paint/BoxPainter.h" | 36 #include "core/paint/BoxPainter.h" |
37 #include "core/paint/InlinePainter.h" | 37 #include "core/paint/InlinePainter.h" |
38 #include "core/paint/ObjectPainter.h" | 38 #include "core/paint/ObjectPainter.h" |
39 #include "core/paint/PaintLayer.h" | 39 #include "core/paint/PaintLayer.h" |
40 #include "core/style/StyleInheritedData.h" | |
41 #include "platform/geometry/FloatQuad.h" | 40 #include "platform/geometry/FloatQuad.h" |
42 #include "platform/geometry/Region.h" | 41 #include "platform/geometry/Region.h" |
43 #include "platform/geometry/TransformState.h" | 42 #include "platform/geometry/TransformState.h" |
44 | 43 |
45 namespace blink { | 44 namespace blink { |
46 | 45 |
47 struct SameSizeAsLayoutInline : public LayoutBoxModelObject { | 46 struct SameSizeAsLayoutInline : public LayoutBoxModelObject { |
48 virtual ~SameSizeAsLayoutInline() {} | 47 virtual ~SameSizeAsLayoutInline() {} |
49 LayoutObjectChildList children_; | 48 LayoutObjectChildList children_; |
50 LineBoxList line_boxes_; | 49 LineBoxList line_boxes_; |
(...skipping 1501 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1552 paint_invalidator.InvalidateDisplayItemClient(*box, invalidation_reason); | 1551 paint_invalidator.InvalidateDisplayItemClient(*box, invalidation_reason); |
1553 } | 1552 } |
1554 | 1553 |
1555 // TODO(lunalu): Not to just dump 0, 0 as the x and y here | 1554 // TODO(lunalu): Not to just dump 0, 0 as the x and y here |
1556 LayoutRect LayoutInline::DebugRect() const { | 1555 LayoutRect LayoutInline::DebugRect() const { |
1557 IntRect lines_box = EnclosingIntRect(LinesBoundingBox()); | 1556 IntRect lines_box = EnclosingIntRect(LinesBoundingBox()); |
1558 return LayoutRect(IntRect(0, 0, lines_box.Width(), lines_box.Height())); | 1557 return LayoutRect(IntRect(0, 0, lines_box.Width(), lines_box.Height())); |
1559 } | 1558 } |
1560 | 1559 |
1561 } // namespace blink | 1560 } // namespace blink |
OLD | NEW |