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

Unified Diff: Source/core/editing/RenderedPosition.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/editing/InsertParagraphSeparatorCommand.cpp ('k') | Source/core/editing/RenderedPosition.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/editing/RenderedPosition.h
diff --git a/Source/core/editing/RenderedPosition.h b/Source/core/editing/RenderedPosition.h
index 427897f47ba4297dcfa5e8470e97038c97151dff..86ab18a08d58a508f3e51d54f9422cca7c86a28a 100644
--- a/Source/core/editing/RenderedPosition.h
+++ b/Source/core/editing/RenderedPosition.h
@@ -38,7 +38,7 @@ namespace blink {
class LayoutUnit;
class Position;
-class RenderObject;
+class LayoutObject;
class VisiblePosition;
struct CompositedSelectionBound;
@@ -73,7 +73,7 @@ public:
private:
bool operator==(const RenderedPosition&) const { return false; }
- explicit RenderedPosition(RenderObject*, InlineBox*, int offset);
+ explicit RenderedPosition(LayoutObject*, InlineBox*, int offset);
InlineBox* prevLeafChild() const;
InlineBox* nextLeafChild() const;
@@ -82,7 +82,7 @@ private:
bool atLeftBoundaryOfBidiRun(ShouldMatchBidiLevel, unsigned char bidiLevelOfRun) const;
bool atRightBoundaryOfBidiRun(ShouldMatchBidiLevel, unsigned char bidiLevelOfRun) const;
- RenderObject* m_renderer;
+ LayoutObject* m_renderer;
InlineBox* m_inlineBox;
int m_offset;
@@ -102,7 +102,7 @@ inline RenderedPosition::RenderedPosition()
{
}
-inline RenderedPosition::RenderedPosition(RenderObject* renderer, InlineBox* box, int offset)
+inline RenderedPosition::RenderedPosition(LayoutObject* renderer, InlineBox* box, int offset)
: m_renderer(renderer)
, m_inlineBox(box)
, m_offset(offset)
@@ -111,7 +111,7 @@ inline RenderedPosition::RenderedPosition(RenderObject* renderer, InlineBox* box
{
}
-bool renderObjectContainsPosition(RenderObject*, const Position&);
+bool layoutObjectContainsPosition(LayoutObject*, const Position&);
};
« no previous file with comments | « Source/core/editing/InsertParagraphSeparatorCommand.cpp ('k') | Source/core/editing/RenderedPosition.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698