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

Unified Diff: Source/core/rendering/FastTextAutosizer.h

Issue 145003009: Autosize list markers. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@tot
Patch Set: Address review comments. Created 6 years, 11 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
Index: Source/core/rendering/FastTextAutosizer.h
diff --git a/Source/core/rendering/FastTextAutosizer.h b/Source/core/rendering/FastTextAutosizer.h
index de1293d9fa8ad30132904d3b84710cbf17087e4d..92c115c56a7d0f9092315d0ab2ab264ffe90b6f3 100644
--- a/Source/core/rendering/FastTextAutosizer.h
+++ b/Source/core/rendering/FastTextAutosizer.h
@@ -44,6 +44,8 @@ namespace WebCore {
class Document;
class RenderBlock;
+class RenderListItem;
+class RenderListMarker;
// Single-pass text autosizer (work in progress). Works in two stages:
// (1) record information about page elements during style recalc
@@ -65,6 +67,8 @@ public:
void beginLayout(RenderBlock*);
void endLayout(RenderBlock*);
+ void inflateListItem(RenderListItem*, RenderListMarker*);
+
private:
struct Cluster {
explicit Cluster(const RenderBlock* root, bool autosize, Cluster* parent)

Powered by Google App Engine
This is Rietveld 408576698