Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(250)

Side by Side Diff: Source/WebCore/rendering/RenderTreeAsText.cpp

Issue 13529026: Removing a bunch of unused platform code. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix whitespace and compiler error on Mac. Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « Source/WebCore/rendering/RenderObject.cpp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « Source/WebCore/rendering/RenderObject.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698