| Index: third_party/WebKit/Source/devtools/front_end/sources/UIList.js
|
| diff --git a/third_party/WebKit/Source/devtools/front_end/sources/UIList.js b/third_party/WebKit/Source/devtools/front_end/sources/UIList.js
|
| index b5327fcc310bd61269a7112e3a3098325c064ef5..2f4b2f52b212791811c0b1141e9a2f9b5cb857c4 100644
|
| --- a/third_party/WebKit/Source/devtools/front_end/sources/UIList.js
|
| +++ b/third_party/WebKit/Source/devtools/front_end/sources/UIList.js
|
| @@ -27,21 +27,21 @@
|
| /**
|
| * @unrestricted
|
| */
|
| -WebInspector.UIList = class extends WebInspector.VBox {
|
| +Sources.UIList = class extends UI.VBox {
|
| constructor() {
|
| super(true);
|
| this.registerRequiredCSS('sources/uiList.css');
|
|
|
| - /** @type {!Array.<!WebInspector.UIList.Item>} */
|
| + /** @type {!Array.<!Sources.UIList.Item>} */
|
| this._items = [];
|
| }
|
|
|
| /**
|
| - * @param {!WebInspector.UIList.Item} item
|
| - * @param {?WebInspector.UIList.Item=} beforeItem
|
| + * @param {!Sources.UIList.Item} item
|
| + * @param {?Sources.UIList.Item=} beforeItem
|
| */
|
| addItem(item, beforeItem) {
|
| - item[WebInspector.UIList._Key] = this;
|
| + item[Sources.UIList._Key] = this;
|
| var beforeElement = beforeItem ? beforeItem.element : null;
|
| this.contentElement.insertBefore(item.element, beforeElement);
|
|
|
| @@ -51,7 +51,7 @@ WebInspector.UIList = class extends WebInspector.VBox {
|
| }
|
|
|
| /**
|
| - * @param {!WebInspector.UIList.Item} item
|
| + * @param {!Sources.UIList.Item} item
|
| */
|
| removeItem(item) {
|
| var index = this._items.indexOf(item);
|
| @@ -66,12 +66,12 @@ WebInspector.UIList = class extends WebInspector.VBox {
|
| }
|
| };
|
|
|
| -WebInspector.UIList._Key = Symbol('ownerList');
|
| +Sources.UIList._Key = Symbol('ownerList');
|
|
|
| /**
|
| * @unrestricted
|
| */
|
| -WebInspector.UIList.Item = class {
|
| +Sources.UIList.Item = class {
|
| /**
|
| * @param {string} title
|
| * @param {string} subtitle
|
| @@ -96,10 +96,10 @@ WebInspector.UIList.Item = class {
|
| }
|
|
|
| /**
|
| - * @return {?WebInspector.UIList.Item}
|
| + * @return {?Sources.UIList.Item}
|
| */
|
| nextSibling() {
|
| - var list = this[WebInspector.UIList._Key];
|
| + var list = this[Sources.UIList._Key];
|
| var index = list._items.indexOf(this);
|
| console.assert(index >= 0);
|
| return list._items[index + 1] || null;
|
| @@ -160,7 +160,7 @@ WebInspector.UIList.Item = class {
|
| if (this._selected)
|
| return;
|
| this._selected = true;
|
| - this._icon = WebInspector.Icon.create('smallicon-thick-right-arrow', 'selected-icon');
|
| + this._icon = UI.Icon.create('smallicon-thick-right-arrow', 'selected-icon');
|
| this.element.appendChild(this._icon);
|
| }
|
|
|
|
|