function TreeOutlineInShadow(className)
{
    TreeOutline.call(this);
    var innerElement = this.element;
    innerElement.classList.add("tree-outline");
    if (className)
        innerElement.classList.add(className);

    // Redefine element to the external one.
    this.element = createElement("div");
    this._shadowRoot = WebInspector.createShadowRootWithCoreStyles(this.element);
    this._shadowRoot.appendChild(WebInspector.Widget.createStyleElement("ui/treeoutline.css"));
    this._shadowRoot.appendChild(innerElement);
    this._renderSelection = true;
}
@constructor
@extends {TreeOutline}
@param {string=} className