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

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

Issue 1110233003: Update list markers in notify change. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase Created 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | Source/core/layout/LayoutListItem.cpp » ('j') | Source/core/layout/LayoutListItem.cpp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/layout/LayoutListItem.h
diff --git a/Source/core/layout/LayoutListItem.h b/Source/core/layout/LayoutListItem.h
index 919f30a6e9d2c65ca1af394cb1425f5eaf5b296e..f7ec8e8e4c27a4e0236dcd8afdd2ae0c438925bb 100644
--- a/Source/core/layout/LayoutListItem.h
+++ b/Source/core/layout/LayoutListItem.h
@@ -60,6 +60,8 @@ public:
bool isEmpty() const;
+ LayoutListMarker* marker() const { return m_marker; }
+
virtual const char* name() const override { return "LayoutListItem"; }
private:
@@ -72,11 +74,10 @@ private:
virtual void paint(const PaintInfo&, const LayoutPoint&) override;
- virtual void layout() override;
+ virtual void subtreeDidChange() override;
ojan 2015/04/30 03:31:04 s/override/final
dsinclair 2015/04/30 17:52:30 Done.
// Returns true if we re-attached and updated the location of the marker.
bool updateMarkerLocation();
- void updateMarkerLocationAndInvalidateWidth();
void positionListMarker();
« no previous file with comments | « no previous file | Source/core/layout/LayoutListItem.cpp » ('j') | Source/core/layout/LayoutListItem.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698