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

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

Issue 931423003: Rename rendering/RenderList* to layout/LayoutList* (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Remove spurious LayoutLayerModelObject reference 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/LayoutListItem.cpp ('k') | Source/core/layout/LayoutListMarker.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/layout/LayoutListMarker.h
diff --git a/Source/core/rendering/RenderListMarker.h b/Source/core/layout/LayoutListMarker.h
similarity index 83%
rename from Source/core/rendering/RenderListMarker.h
rename to Source/core/layout/LayoutListMarker.h
index 0254f859c72ebaf66cce4f330f6588349cb332b1..be2e10caa96fd3d1d66845f834698ef48b3dad51 100644
--- a/Source/core/rendering/RenderListMarker.h
+++ b/Source/core/layout/LayoutListMarker.h
@@ -20,24 +20,24 @@
*
*/
-#ifndef RenderListMarker_h
-#define RenderListMarker_h
+#ifndef LayoutListMarker_h
+#define LayoutListMarker_h
#include "core/rendering/RenderBox.h"
namespace blink {
-class RenderListItem;
+class LayoutListItem;
String listMarkerText(EListStyleType, int value);
// Used to render the list item's marker.
-// The RenderListMarker always has to be a child of a RenderListItem.
-class RenderListMarker final : public RenderBox {
+// The LayoutListMarker always has to be a child of a LayoutListItem.
+class LayoutListMarker final : public RenderBox {
public:
- static RenderListMarker* createAnonymous(RenderListItem*);
+ static LayoutListMarker* createAnonymous(LayoutListItem*);
- virtual ~RenderListMarker();
+ virtual ~LayoutListMarker();
virtual void destroy() override;
const String& text() const { return m_text; }
@@ -50,16 +50,16 @@ public:
LayoutRect localSelectionRect();
virtual bool isImage() const override;
const StyleImage* image() { return m_image.get(); }
- const RenderListItem* listItem() { return m_listItem; }
+ const LayoutListItem* listItem() { return m_listItem; }
static UChar listMarkerSuffix(EListStyleType, int value);
void listItemStyleDidChange();
private:
- RenderListMarker(RenderListItem*);
+ LayoutListMarker(LayoutListItem*);
- virtual const char* renderName() const override { return "RenderListMarker"; }
+ virtual const char* renderName() const override { return "LayoutListMarker"; }
virtual void computePreferredLogicalWidths() override;
virtual bool isOfType(LayoutObjectType type) const override { return type == LayoutObjectListMarker || RenderBox::isOfType(type); }
@@ -89,11 +89,11 @@ private:
String m_text;
RefPtr<StyleImage> m_image;
- RenderListItem* m_listItem;
+ LayoutListItem* m_listItem;
};
-DEFINE_LAYOUT_OBJECT_TYPE_CASTS(RenderListMarker, isListMarker());
+DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutListMarker, isListMarker());
} // namespace blink
-#endif // RenderListMarker_h
+#endif // LayoutListMarker_h
« no previous file with comments | « Source/core/layout/LayoutListItem.cpp ('k') | Source/core/layout/LayoutListMarker.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698