| 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 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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/LayoutSVGInline.h" |
| 52 #include "core/layout/svg/LayoutSVGInlineText.h" | 52 #include "core/layout/svg/LayoutSVGInlineText.h" |
| 53 #include "core/layout/svg/LayoutSVGRoot.h" | 53 #include "core/layout/svg/LayoutSVGRoot.h" |
| 54 #include "core/layout/svg/LayoutSVGShape.h" | 54 #include "core/layout/svg/LayoutSVGShape.h" |
| 55 #include "core/layout/svg/LayoutSVGText.h" | 55 #include "core/layout/svg/LayoutSVGText.h" |
| 56 #include "core/layout/svg/SVGLayoutTreeAsText.h" | 56 #include "core/layout/svg/SVGLayoutTreeAsText.h" |
| 57 #include "core/page/PrintContext.h" | 57 #include "core/page/PrintContext.h" |
| 58 #include "core/paint/PaintLayer.h" | 58 #include "core/paint/PaintLayer.h" |
| 59 #include "platform/LayoutUnit.h" | 59 #include "platform/LayoutUnit.h" |
| 60 #include "wtf/HexNumber.h" | 60 #include "platform/wtf/HexNumber.h" |
| 61 #include "wtf/Vector.h" | 61 #include "platform/wtf/Vector.h" |
| 62 #include "wtf/text/CharacterNames.h" | 62 #include "platform/wtf/text/CharacterNames.h" |
| 63 | 63 |
| 64 namespace blink { | 64 namespace blink { |
| 65 | 65 |
| 66 using namespace HTMLNames; | 66 using namespace HTMLNames; |
| 67 | 67 |
| 68 static void PrintBorderStyle(TextStream& ts, const EBorderStyle border_style) { | 68 static void PrintBorderStyle(TextStream& ts, const EBorderStyle border_style) { |
| 69 switch (border_style) { | 69 switch (border_style) { |
| 70 case kBorderStyleNone: | 70 case kBorderStyleNone: |
| 71 ts << "none"; | 71 ts << "none"; |
| 72 break; | 72 break; |
| (...skipping 822 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 895 element->GetDocument().UpdateStyleAndLayout(); | 895 element->GetDocument().UpdateStyleAndLayout(); |
| 896 | 896 |
| 897 LayoutObject* layout_object = element->GetLayoutObject(); | 897 LayoutObject* layout_object = element->GetLayoutObject(); |
| 898 if (!layout_object || !layout_object->IsListItem()) | 898 if (!layout_object || !layout_object->IsListItem()) |
| 899 return String(); | 899 return String(); |
| 900 | 900 |
| 901 return ToLayoutListItem(layout_object)->MarkerText(); | 901 return ToLayoutListItem(layout_object)->MarkerText(); |
| 902 } | 902 } |
| 903 | 903 |
| 904 } // namespace blink | 904 } // namespace blink |
| OLD | NEW |