| Index: third_party/WebKit/Source/devtools/front_end/resources/ResourcesPanel.js
|
| diff --git a/third_party/WebKit/Source/devtools/front_end/resources/ResourcesPanel.js b/third_party/WebKit/Source/devtools/front_end/resources/ResourcesPanel.js
|
| index 132bcdb1f932991816cfc8ec94b3c4f89d655300..071fb43875835926692a05cab5657ea2271f454c 100644
|
| --- a/third_party/WebKit/Source/devtools/front_end/resources/ResourcesPanel.js
|
| +++ b/third_party/WebKit/Source/devtools/front_end/resources/ResourcesPanel.js
|
| @@ -7,7 +7,7 @@ Resources.ResourcesPanel = class extends UI.PanelWithSidebar {
|
| super('resources');
|
| this.registerRequiredCSS('resources/resourcesPanel.css');
|
|
|
| - this._resourcesLastSelectedItemSetting = Common.settings.createSetting('resourcesLastSelectedItem', '');
|
| + this._resourcesLastSelectedItemSetting = Common.settings.createSetting('resourcesLastSelectedElementPath', []);
|
|
|
| /** @type {?UI.Widget} */
|
| this.visibleView = null;
|
| @@ -60,14 +60,17 @@ Resources.ResourcesPanel = class extends UI.PanelWithSidebar {
|
| }
|
|
|
| /**
|
| - * @return {string}
|
| + * @return {!Array<string>}
|
| */
|
| - lastSelectedItemURL() {
|
| + lastSelectedItemPath() {
|
| return this._resourcesLastSelectedItemSetting.get();
|
| }
|
|
|
| - setLastSelectedItemURL(url) {
|
| - this._resourcesLastSelectedItemSetting.set(url);
|
| + /**
|
| + * @param {!Array<string>} path
|
| + */
|
| + setLastSelectedItemPath(path) {
|
| + this._resourcesLastSelectedItemSetting.set(path);
|
| }
|
|
|
| resetView() {
|
|
|