diff options
Diffstat (limited to 'chromium/third_party/blink/renderer/core/layout/text_autosizer.h')
-rw-r--r-- | chromium/third_party/blink/renderer/core/layout/text_autosizer.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/chromium/third_party/blink/renderer/core/layout/text_autosizer.h b/chromium/third_party/blink/renderer/core/layout/text_autosizer.h index fd7a5aa759e..ad1deecc343 100644 --- a/chromium/third_party/blink/renderer/core/layout/text_autosizer.h +++ b/chromium/third_party/blink/renderer/core/layout/text_autosizer.h @@ -36,6 +36,7 @@ #include "base/macros.h" #include "third_party/blink/renderer/core/core_export.h" #include "third_party/blink/renderer/platform/heap/handle.h" +#include "third_party/blink/renderer/platform/layout_unit.h" #include "third_party/blink/renderer/platform/wtf/hash_map.h" #include "third_party/blink/renderer/platform/wtf/hash_set.h" @@ -49,6 +50,7 @@ class LayoutObject; class LayoutTable; class LayoutText; class LocalFrame; +class NGBlockNode; class Page; class SubtreeLayoutScope; @@ -93,6 +95,18 @@ class CORE_EXPORT TextAutosizer final explicit TableLayoutScope(LayoutTable*); }; + class NGLayoutScope { + STACK_ALLOCATED(); + + public: + explicit NGLayoutScope(const NGBlockNode& node, LayoutUnit inline_size); + ~NGLayoutScope(); + + protected: + Member<TextAutosizer> text_autosizer_; + LayoutBlock* block_; + }; + class CORE_EXPORT DeferUpdatePageInfo { STACK_ALLOCATED(); |