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 25 matching lines...) Expand all Loading... |
36 #include "core/html/HTMLElement.h" | 36 #include "core/html/HTMLElement.h" |
37 #include "core/layout/LayoutBlockFlow.h" | 37 #include "core/layout/LayoutBlockFlow.h" |
38 #include "core/layout/LayoutDetailsMarker.h" | 38 #include "core/layout/LayoutDetailsMarker.h" |
39 #include "core/layout/LayoutFileUploadControl.h" | 39 #include "core/layout/LayoutFileUploadControl.h" |
40 #include "core/layout/LayoutInline.h" | 40 #include "core/layout/LayoutInline.h" |
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/compositing/CompositedLayerMapping.h" | 47 #include "core/layout/compositing/CompositedLayerMapping.h" |
47 #include "core/layout/line/InlineTextBox.h" | 48 #include "core/layout/line/InlineTextBox.h" |
48 #include "core/layout/svg/LayoutSVGGradientStop.h" | 49 #include "core/layout/svg/LayoutSVGGradientStop.h" |
49 #include "core/layout/svg/LayoutSVGImage.h" | 50 #include "core/layout/svg/LayoutSVGImage.h" |
50 #include "core/layout/svg/LayoutSVGInlineText.h" | 51 #include "core/layout/svg/LayoutSVGInlineText.h" |
51 #include "core/layout/svg/LayoutSVGRoot.h" | 52 #include "core/layout/svg/LayoutSVGRoot.h" |
52 #include "core/layout/svg/LayoutSVGShape.h" | 53 #include "core/layout/svg/LayoutSVGShape.h" |
53 #include "core/layout/svg/LayoutSVGText.h" | 54 #include "core/layout/svg/LayoutSVGText.h" |
54 #include "core/layout/svg/SVGLayoutTreeAsText.h" | 55 #include "core/layout/svg/SVGLayoutTreeAsText.h" |
55 #include "core/page/PrintContext.h" | 56 #include "core/page/PrintContext.h" |
(...skipping 788 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
844 element->document().updateStyleAndLayout(); | 845 element->document().updateStyleAndLayout(); |
845 | 846 |
846 LayoutObject* layoutObject = element->layoutObject(); | 847 LayoutObject* layoutObject = element->layoutObject(); |
847 if (!layoutObject || !layoutObject->isListItem()) | 848 if (!layoutObject || !layoutObject->isListItem()) |
848 return String(); | 849 return String(); |
849 | 850 |
850 return toLayoutListItem(layoutObject)->markerText(); | 851 return toLayoutListItem(layoutObject)->markerText(); |
851 } | 852 } |
852 | 853 |
853 } // namespace blink | 854 } // namespace blink |
OLD | NEW |