TextControl NG: Add CreateTextControl*() to LayoutObjectFactory
Add CreateTextControlInnerEditor(), CreateTextControlMultiLine(), CreateTextControlSingleLine() to blink::LayoutObjectFactory so that we can switch text control's LayoutObject to LayoutNGTextContorl*. - Change the constructor arguments of LayoutTextControl*Line to |Element*|. It's a requirement of LayoutObjectFactory. This CL has no behavior changes because their LegacyLayout arguments are always kForce. Bug: 1040826 Change-Id: I5960d5c9163c1c975a3ddc195dad177ae9380a23 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2440000 Auto-Submit: Kent Tamura <tkent@chromium.org> Reviewed-by:Koji Ishii <kojii@chromium.org> Commit-Queue: Kent Tamura <tkent@chromium.org> Cr-Commit-Position: refs/heads/master@{#812630}
Showing
Please register or sign in to comment