import*as UI from"../ui/ui.js";export class AccessibilitySubPane extends UI.View.SimpleView{constructor(e){super(e),this._axNode=null,this.registerRequiredCSS("accessibility/accessibilityProperties.css",{enableLegacyPatching:!1})}setAXNode(e){}node(){return this._node||null}setNode(e){this._node=e}createInfo(e,i){const t=i||"gray-info-message",s=this.element.createChild("div",t);return s.textContent=e,s}createTreeOutline(){const e=new UI.TreeOutline.TreeOutlineInShadow;return e.registerRequiredCSS("accessibility/accessibilityNode.css",{enableLegacyPatching:!1}),e.registerRequiredCSS("accessibility/accessibilityProperties.css",{enableLegacyPatching:!1}),e.registerRequiredCSS("object_ui/objectValue.css",{enableLegacyPatching:!0}),e.element.classList.add("hidden"),e.hideOverflow(),this.element.appendChild(e.element),e}}