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 21 matching lines...) Expand all Loading... |
32 #include "core/dom/PseudoElement.h" | 32 #include "core/dom/PseudoElement.h" |
33 #include "core/editing/FrameSelection.h" | 33 #include "core/editing/FrameSelection.h" |
34 #include "core/frame/FrameView.h" | 34 #include "core/frame/FrameView.h" |
35 #include "core/frame/LocalFrame.h" | 35 #include "core/frame/LocalFrame.h" |
36 #include "core/frame/Settings.h" | 36 #include "core/frame/Settings.h" |
37 #include "core/html/HTMLElement.h" | 37 #include "core/html/HTMLElement.h" |
38 #include "core/layout/Layer.h" | 38 #include "core/layout/Layer.h" |
39 #include "core/layout/LayoutTableCell.h" | 39 #include "core/layout/LayoutTableCell.h" |
40 #include "core/layout/compositing/CompositedLayerMapping.h" | 40 #include "core/layout/compositing/CompositedLayerMapping.h" |
41 #include "core/layout/line/InlineTextBox.h" | 41 #include "core/layout/line/InlineTextBox.h" |
| 42 #include "core/layout/svg/LayoutSVGContainer.h" |
42 #include "core/layout/svg/LayoutSVGInlineText.h" | 43 #include "core/layout/svg/LayoutSVGInlineText.h" |
43 #include "core/layout/svg/LayoutSVGText.h" | 44 #include "core/layout/svg/LayoutSVGText.h" |
44 #include "core/layout/svg/SVGLayoutTreeAsText.h" | 45 #include "core/layout/svg/SVGLayoutTreeAsText.h" |
45 #include "core/page/PrintContext.h" | 46 #include "core/page/PrintContext.h" |
46 #include "core/rendering/RenderBR.h" | 47 #include "core/rendering/RenderBR.h" |
47 #include "core/rendering/RenderDetailsMarker.h" | 48 #include "core/rendering/RenderDetailsMarker.h" |
48 #include "core/rendering/RenderFileUploadControl.h" | 49 #include "core/rendering/RenderFileUploadControl.h" |
49 #include "core/rendering/RenderInline.h" | 50 #include "core/rendering/RenderInline.h" |
50 #include "core/rendering/RenderListItem.h" | 51 #include "core/rendering/RenderListItem.h" |
51 #include "core/rendering/RenderListMarker.h" | 52 #include "core/rendering/RenderListMarker.h" |
52 #include "core/rendering/RenderPart.h" | 53 #include "core/rendering/RenderPart.h" |
53 #include "core/rendering/RenderView.h" | 54 #include "core/rendering/RenderView.h" |
54 #include "core/rendering/svg/RenderSVGContainer.h" | |
55 #include "core/rendering/svg/RenderSVGGradientStop.h" | 55 #include "core/rendering/svg/RenderSVGGradientStop.h" |
56 #include "core/rendering/svg/RenderSVGImage.h" | 56 #include "core/rendering/svg/RenderSVGImage.h" |
57 #include "core/rendering/svg/RenderSVGPath.h" | 57 #include "core/rendering/svg/RenderSVGPath.h" |
58 #include "core/rendering/svg/RenderSVGRoot.h" | 58 #include "core/rendering/svg/RenderSVGRoot.h" |
59 #include "wtf/HexNumber.h" | 59 #include "wtf/HexNumber.h" |
60 #include "wtf/Vector.h" | 60 #include "wtf/Vector.h" |
61 #include "wtf/unicode/CharacterNames.h" | 61 #include "wtf/unicode/CharacterNames.h" |
62 | 62 |
63 namespace blink { | 63 namespace blink { |
64 | 64 |
(...skipping 716 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
781 element->document().updateLayout(); | 781 element->document().updateLayout(); |
782 | 782 |
783 LayoutObject* renderer = element->renderer(); | 783 LayoutObject* renderer = element->renderer(); |
784 if (!renderer || !renderer->isListItem()) | 784 if (!renderer || !renderer->isListItem()) |
785 return String(); | 785 return String(); |
786 | 786 |
787 return toRenderListItem(renderer)->markerText(); | 787 return toRenderListItem(renderer)->markerText(); |
788 } | 788 } |
789 | 789 |
790 } // namespace blink | 790 } // namespace blink |
OLD | NEW |