Commit 7be17882 authored by Kent Tamura's avatar Kent Tamura Committed by Commit Bot

Layout: Sort items of |enum LayoutObjectType|

This CL has no behavior changes.

Change-Id: Ide79e2282dec45ce9b92fda4e09b180b0a50f3d5
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2444653
Auto-Submit: Kent Tamura <tkent@chromium.org>
Reviewed-by: default avatarMorten Stenshorne <mstensho@chromium.org>
Commit-Queue: Kent Tamura <tkent@chromium.org>
Cr-Commit-Position: refs/heads/master@{#813608}
parent 0ff957ad
......@@ -3290,49 +3290,47 @@ class CORE_EXPORT LayoutObject : public ImageResourceObserver,
// The identifier name for blink::LayoutFoo should be kLayoutObjectFoo.
enum LayoutObjectType {
kLayoutObjectBr,
kLayoutObjectButton,
kLayoutObjectCanvas,
kLayoutObjectFieldset,
kLayoutObjectCounter,
kLayoutObjectCustomScrollbarPart,
kLayoutObjectDetailsMarker,
kLayoutObjectEmbeddedObject,
kLayoutObjectFieldset,
kLayoutObjectFileUploadControl,
kLayoutObjectFrame,
kLayoutObjectFrameSet,
kLayoutObjectGrid,
kLayoutObjectIFrame,
kLayoutObjectImage,
kLayoutObjectInsideListMarker,
kLayoutObjectTableCol,
kLayoutObjectNGTableCol,
kLayoutObjectListItem,
kLayoutObjectListMarker,
kLayoutObjectListMarkerImage,
kLayoutObjectMathML,
kLayoutObjectMathMLRoot,
kLayoutObjectMedia,
kLayoutObjectMultiColumnSet,
kLayoutObjectMultiColumnSpannerPlaceholder,
kLayoutObjectNGBlockFlow,
kLayoutObjectNGButton,
kLayoutObjectNGCustom,
kLayoutObjectNGFieldset,
kLayoutObjectNGFlexibleBox,
kLayoutObjectNGGrid,
kLayoutObjectNGMixin,
kLayoutObjectNGListItem,
kLayoutObjectNGInsideListMarker,
kLayoutObjectNGListItem,
kLayoutObjectNGMixin,
kLayoutObjectNGOutsideListMarker,
kLayoutObjectNGProgress,
kLayoutObjectNGTableCol,
kLayoutObjectNGText,
kLayoutObjectNGTextControlMultiLine,
kLayoutObjectNGTextControlSingleLine,
kLayoutObjectOutsideListMarker,
kLayoutObjectProgress,
kLayoutObjectQuote,
kLayoutObjectButton,
kLayoutObjectNGCustom,
kLayoutObjectGrid,
kLayoutObjectIFrame,
kLayoutObjectImage,
kLayoutObjectMultiColumnSet,
kLayoutObjectMultiColumnSpannerPlaceholder,
kLayoutObjectReplaced,
kLayoutObjectCustomScrollbarPart,
kLayoutObjectView,
kLayoutObjectRuby,
kLayoutObjectRubyBase,
kLayoutObjectRubyRun,
......@@ -3341,29 +3339,31 @@ class CORE_EXPORT LayoutObject : public ImageResourceObserver,
kLayoutObjectTableCaption,
kLayoutObjectTableCell,
kLayoutObjectTableCellLegacy,
kLayoutObjectTableCol,
kLayoutObjectTableRow,
kLayoutObjectTableSection,
kLayoutObjectTextControlMultiLine,
kLayoutObjectTextControl,
kLayoutObjectTextControlMultiLine,
kLayoutObjectTextControlSingleLine,
kLayoutObjectVideo,
kLayoutObjectView,
kLayoutObjectWidget,
kLayoutObjectSVG, /* Keep by itself? */
kLayoutObjectSVGRoot,
kLayoutObjectSVGContainer,
kLayoutObjectSVGTransformableContainer,
kLayoutObjectSVGViewportContainer,
kLayoutObjectSVGFilterPrimitive,
kLayoutObjectSVGForeignObject,
kLayoutObjectSVGHiddenContainer,
kLayoutObjectSVGShape,
kLayoutObjectSVGText,
kLayoutObjectSVGTextPath,
kLayoutObjectSVGImage,
kLayoutObjectSVGInline,
kLayoutObjectSVGInlineText,
kLayoutObjectSVGImage,
kLayoutObjectSVGForeignObject,
kLayoutObjectSVGResourceContainer,
kLayoutObjectSVGFilterPrimitive,
kLayoutObjectSVGRoot,
kLayoutObjectSVGShape,
kLayoutObjectSVGText,
kLayoutObjectSVGTextPath,
kLayoutObjectSVGTransformableContainer,
kLayoutObjectSVGViewportContainer,
};
virtual bool IsOfType(LayoutObjectType type) const {
NOT_DESTROYED();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment