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

Unified Diff: third_party/WebKit/Source/core/layout/ng/ng_block_node.h

Issue 2642823008: Introduce NGFloatingObject (Closed)
Patch Set: fix comments Created 3 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: third_party/WebKit/Source/core/layout/ng/ng_block_node.h
diff --git a/third_party/WebKit/Source/core/layout/ng/ng_block_node.h b/third_party/WebKit/Source/core/layout/ng/ng_block_node.h
index 4497a945edf411c5038c9d3ab2141b6ca8304bd3..7fde90c89134ee700d36abd17fae9287f30d8982 100644
--- a/third_party/WebKit/Source/core/layout/ng/ng_block_node.h
+++ b/third_party/WebKit/Source/core/layout/ng/ng_block_node.h
@@ -87,6 +87,11 @@ class CORE_EXPORT NGBlockNode final : public NGLayoutInputNode {
// underlying LayoutBox.
void PositionUpdated();
+ // Similar to PositionUpdated but for floats.
+ // - Updates layout object's geometric information.
+ // - Creates legacy FloatingObject and attached it to the provided parent.
+ void FloatPositionUpdated(LayoutObject* parent);
+
bool CanUseNewLayout();
bool HasInlineChildren();

Powered by Google App Engine
This is Rietveld 408576698