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

Unified Diff: Source/core/layout/LayoutTreeAsText.h

Issue 899163003: Move rendering/RenderObject to layout/LayoutObject. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/layout/LayoutThemeChromiumSkia.cpp ('k') | Source/core/layout/LayoutTreeAsText.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/layout/LayoutTreeAsText.h
diff --git a/Source/core/layout/LayoutTreeAsText.h b/Source/core/layout/LayoutTreeAsText.h
index bfe0e890e1c721e7f009352b01c67d431ef0f9ed..fd477d3288b635b032d982976645613e1a1bdc81 100644
--- a/Source/core/layout/LayoutTreeAsText.h
+++ b/Source/core/layout/LayoutTreeAsText.h
@@ -37,7 +37,7 @@ class LayoutRect;
class LocalFrame;
class Node;
class Layer;
-class RenderObject;
+class LayoutObject;
class TextStream;
enum LayoutAsTextBehaviorFlags {
@@ -56,14 +56,14 @@ typedef unsigned LayoutAsTextBehavior;
// You don't need pageWidthInPixels if you don't specify LayoutAsTextInPrintingMode.
String externalRepresentation(LocalFrame*, LayoutAsTextBehavior = LayoutAsTextBehaviorNormal);
String externalRepresentation(Element*, LayoutAsTextBehavior = LayoutAsTextBehaviorNormal);
-void write(TextStream&, const RenderObject&, int indent = 0, LayoutAsTextBehavior = LayoutAsTextBehaviorNormal);
+void write(TextStream&, const LayoutObject&, int indent = 0, LayoutAsTextBehavior = LayoutAsTextBehaviorNormal);
class LayoutTreeAsText {
// FIXME: This is a cheesy hack to allow easy access to RenderStyle colors. It won't be needed if we convert
// it to use visitedDependentColor instead. (This just involves rebaselining many results though, so for now it's
// not being done).
public:
-static void writeRenderObject(TextStream&, const RenderObject&, LayoutAsTextBehavior);
+static void writeLayoutObject(TextStream&, const LayoutObject&, LayoutAsTextBehavior);
static void writeLayers(TextStream&, const Layer* rootLayer, Layer*, const LayoutRect& paintDirtyRect, int indent = 0, LayoutAsTextBehavior = LayoutAsTextBehaviorNormal);
};
« no previous file with comments | « Source/core/layout/LayoutThemeChromiumSkia.cpp ('k') | Source/core/layout/LayoutTreeAsText.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698