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

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

Issue 2642823008: Introduce NGFloatingObject (Closed)
Patch Set: Update TestExpectations 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 67b696e0c3c599229f7e46a077ccc00409fe169f..dbf52137864b92482b0502a7105ae1497d1db211 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
@@ -82,6 +82,11 @@ class CORE_EXPORT NGBlockNode final : public NGLayoutInputNode {
void PositionUpdated();
private:
+ // 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();
« no previous file with comments | « third_party/WebKit/Source/core/layout/BUILD.gn ('k') | third_party/WebKit/Source/core/layout/ng/ng_block_node.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698