| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2004, 2006, 2007 Apple Inc. All rights reserved. | 2 * Copyright (C) 2004, 2006, 2007 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 30 matching lines...) Expand all Loading... |
| 41 #include "core/layout/LayoutListItem.h" | 41 #include "core/layout/LayoutListItem.h" |
| 42 #include "core/layout/LayoutListMarker.h" | 42 #include "core/layout/LayoutListMarker.h" |
| 43 #include "core/layout/LayoutPart.h" | 43 #include "core/layout/LayoutPart.h" |
| 44 #include "core/layout/LayoutTableCell.h" | 44 #include "core/layout/LayoutTableCell.h" |
| 45 #include "core/layout/LayoutView.h" | 45 #include "core/layout/LayoutView.h" |
| 46 #include "core/layout/api/LayoutViewItem.h" | 46 #include "core/layout/api/LayoutViewItem.h" |
| 47 #include "core/layout/compositing/CompositedLayerMapping.h" | 47 #include "core/layout/compositing/CompositedLayerMapping.h" |
| 48 #include "core/layout/line/InlineTextBox.h" | 48 #include "core/layout/line/InlineTextBox.h" |
| 49 #include "core/layout/svg/LayoutSVGGradientStop.h" | 49 #include "core/layout/svg/LayoutSVGGradientStop.h" |
| 50 #include "core/layout/svg/LayoutSVGImage.h" | 50 #include "core/layout/svg/LayoutSVGImage.h" |
| 51 #include "core/layout/svg/LayoutSVGInline.h" |
| 51 #include "core/layout/svg/LayoutSVGInlineText.h" | 52 #include "core/layout/svg/LayoutSVGInlineText.h" |
| 52 #include "core/layout/svg/LayoutSVGRoot.h" | 53 #include "core/layout/svg/LayoutSVGRoot.h" |
| 53 #include "core/layout/svg/LayoutSVGShape.h" | 54 #include "core/layout/svg/LayoutSVGShape.h" |
| 54 #include "core/layout/svg/LayoutSVGText.h" | 55 #include "core/layout/svg/LayoutSVGText.h" |
| 55 #include "core/layout/svg/SVGLayoutTreeAsText.h" | 56 #include "core/layout/svg/SVGLayoutTreeAsText.h" |
| 56 #include "core/page/PrintContext.h" | 57 #include "core/page/PrintContext.h" |
| 57 #include "core/paint/PaintLayer.h" | 58 #include "core/paint/PaintLayer.h" |
| 58 #include "platform/LayoutUnit.h" | 59 #include "platform/LayoutUnit.h" |
| 59 #include "wtf/HexNumber.h" | 60 #include "wtf/HexNumber.h" |
| 60 #include "wtf/Vector.h" | 61 #include "wtf/Vector.h" |
| (...skipping 418 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 479 return; | 480 return; |
| 480 } | 481 } |
| 481 if (o.isSVGRoot()) { | 482 if (o.isSVGRoot()) { |
| 482 write(ts, toLayoutSVGRoot(o), indent); | 483 write(ts, toLayoutSVGRoot(o), indent); |
| 483 return; | 484 return; |
| 484 } | 485 } |
| 485 if (o.isSVGText()) { | 486 if (o.isSVGText()) { |
| 486 writeSVGText(ts, toLayoutSVGText(o), indent); | 487 writeSVGText(ts, toLayoutSVGText(o), indent); |
| 487 return; | 488 return; |
| 488 } | 489 } |
| 490 if (o.isSVGInline()) { |
| 491 writeSVGInline(ts, toLayoutSVGInline(o), indent); |
| 492 return; |
| 493 } |
| 489 if (o.isSVGInlineText()) { | 494 if (o.isSVGInlineText()) { |
| 490 writeSVGInlineText(ts, toLayoutSVGInlineText(o), indent); | 495 writeSVGInlineText(ts, toLayoutSVGInlineText(o), indent); |
| 491 return; | 496 return; |
| 492 } | 497 } |
| 493 if (o.isSVGImage()) { | 498 if (o.isSVGImage()) { |
| 494 writeSVGImage(ts, toLayoutSVGImage(o), indent); | 499 writeSVGImage(ts, toLayoutSVGImage(o), indent); |
| 495 return; | 500 return; |
| 496 } | 501 } |
| 497 | 502 |
| 498 writeIndent(ts, indent); | 503 writeIndent(ts, indent); |
| (...skipping 379 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 878 element->document().updateStyleAndLayout(); | 883 element->document().updateStyleAndLayout(); |
| 879 | 884 |
| 880 LayoutObject* layoutObject = element->layoutObject(); | 885 LayoutObject* layoutObject = element->layoutObject(); |
| 881 if (!layoutObject || !layoutObject->isListItem()) | 886 if (!layoutObject || !layoutObject->isListItem()) |
| 882 return String(); | 887 return String(); |
| 883 | 888 |
| 884 return toLayoutListItem(layoutObject)->markerText(); | 889 return toLayoutListItem(layoutObject)->markerText(); |
| 885 } | 890 } |
| 886 | 891 |
| 887 } // namespace blink | 892 } // namespace blink |
| OLD | NEW |