| Index: third_party/WebKit/Source/devtools/front_end/sources/SourcesPanel.js
|
| diff --git a/third_party/WebKit/Source/devtools/front_end/sources/SourcesPanel.js b/third_party/WebKit/Source/devtools/front_end/sources/SourcesPanel.js
|
| index 0a2d8db714e87a240de52a7269e22306bad54b79..83634422914bca812b5f25452ced73ec8c0425ff 100644
|
| --- a/third_party/WebKit/Source/devtools/front_end/sources/SourcesPanel.js
|
| +++ b/third_party/WebKit/Source/devtools/front_end/sources/SourcesPanel.js
|
| @@ -178,6 +178,9 @@ WebInspector.SourcesPanel.prototype = {
|
| return this._paused;
|
| },
|
|
|
| + /**
|
| + * @override
|
| + */
|
| wasShown: function()
|
| {
|
| WebInspector.context.setFlavor(WebInspector.SourcesPanel, this);
|
| @@ -190,6 +193,9 @@ WebInspector.SourcesPanel.prototype = {
|
| this.editorView.setMainWidget(this._sourcesView);
|
| },
|
|
|
| + /**
|
| + * @override
|
| + */
|
| willHide: function()
|
| {
|
| WebInspector.Panel.prototype.willHide.call(this);
|
| @@ -227,6 +233,9 @@ WebInspector.SourcesPanel.prototype = {
|
| return true;
|
| },
|
|
|
| + /**
|
| + * @override
|
| + */
|
| onResize: function()
|
| {
|
| if (WebInspector.moduleSetting("sidebarPosition").get() === "auto")
|
| @@ -306,7 +315,7 @@ WebInspector.SourcesPanel.prototype = {
|
| },
|
|
|
| /**
|
| - * @return {!WebInspector.Widget}
|
| + * @return {?WebInspector.Widget}
|
| */
|
| get visibleView()
|
| {
|
| @@ -1370,6 +1379,9 @@ WebInspector.SourcesPanel.WrapperView = function()
|
| };
|
|
|
| WebInspector.SourcesPanel.WrapperView.prototype = {
|
| + /**
|
| + * @override
|
| + */
|
| wasShown: function()
|
| {
|
| if (!WebInspector.SourcesPanel.instance().isShowing())
|
| @@ -1379,6 +1391,9 @@ WebInspector.SourcesPanel.WrapperView.prototype = {
|
| WebInspector.SourcesPanel.updateResizerAndSidebarButtons(WebInspector.SourcesPanel.instance());
|
| },
|
|
|
| + /**
|
| + * @override
|
| + */
|
| willHide: function()
|
| {
|
| WebInspector.inspectorView.setDrawerMinimized(false);
|
|
|