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 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
62 #include "RenderSVGPath.h" | 62 #include "RenderSVGPath.h" |
63 #include "RenderSVGRoot.h" | 63 #include "RenderSVGRoot.h" |
64 #include "RenderSVGText.h" | 64 #include "RenderSVGText.h" |
65 #include "SVGRenderTreeAsText.h" | 65 #include "SVGRenderTreeAsText.h" |
66 #endif | 66 #endif |
67 | 67 |
68 #if USE(ACCELERATED_COMPOSITING) | 68 #if USE(ACCELERATED_COMPOSITING) |
69 #include "RenderLayerBacking.h" | 69 #include "RenderLayerBacking.h" |
70 #endif | 70 #endif |
71 | 71 |
72 #if PLATFORM(QT) | |
73 #include <QVariant> | |
74 #endif | |
75 | |
76 namespace WebCore { | 72 namespace WebCore { |
77 | 73 |
78 using namespace HTMLNames; | 74 using namespace HTMLNames; |
79 | 75 |
80 static void writeLayers(TextStream&, const RenderLayer* rootLayer, RenderLayer*,
const LayoutRect& paintDirtyRect, int indent = 0, RenderAsTextBehavior = Render
AsTextBehaviorNormal); | 76 static void writeLayers(TextStream&, const RenderLayer* rootLayer, RenderLayer*,
const LayoutRect& paintDirtyRect, int indent = 0, RenderAsTextBehavior = Render
AsTextBehaviorNormal); |
81 | 77 |
82 TextStream& operator<<(TextStream& ts, const IntRect& r) | 78 TextStream& operator<<(TextStream& ts, const IntRect& r) |
83 { | 79 { |
84 return ts << "at (" << r.x() << "," << r.y() << ") size " << r.width() << "x
" << r.height(); | 80 return ts << "at (" << r.x() << "," << r.y() << ") size " << r.width() << "x
" << r.height(); |
85 } | 81 } |
(...skipping 812 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
898 element->document()->updateLayout(); | 894 element->document()->updateLayout(); |
899 | 895 |
900 RenderObject* renderer = element->renderer(); | 896 RenderObject* renderer = element->renderer(); |
901 if (!renderer || !renderer->isListItem()) | 897 if (!renderer || !renderer->isListItem()) |
902 return String(); | 898 return String(); |
903 | 899 |
904 return toRenderListItem(renderer)->markerText(); | 900 return toRenderListItem(renderer)->markerText(); |
905 } | 901 } |
906 | 902 |
907 } // namespace WebCore | 903 } // namespace WebCore |
OLD | NEW |