Index: third_party/WebKit/Source/devtools/front_end/ui/InspectorView.js |
diff --git a/third_party/WebKit/Source/devtools/front_end/ui/InspectorView.js b/third_party/WebKit/Source/devtools/front_end/ui/InspectorView.js |
index 5ebebac6e57692222da1d821b85ce007058903c6..7294b11fdbed91c6cbcd3e4a04fe8a0c7317b5fa 100644 |
--- a/third_party/WebKit/Source/devtools/front_end/ui/InspectorView.js |
+++ b/third_party/WebKit/Source/devtools/front_end/ui/InspectorView.js |
@@ -91,11 +91,17 @@ WebInspector.InspectorView.instance = function() |
}; |
WebInspector.InspectorView.prototype = { |
+ /** |
+ * @override |
+ */ |
wasShown: function() |
{ |
this.element.ownerDocument.addEventListener("keydown", this._keyDownBound, false); |
}, |
+ /** |
+ * @override |
+ */ |
willHide: function() |
{ |
this.element.ownerDocument.removeEventListener("keydown", this._keyDownBound, false); |
@@ -263,6 +269,9 @@ WebInspector.InspectorView.prototype = { |
} |
}, |
+ /** |
+ * @override |
+ */ |
onResize: function() |
{ |
WebInspector.Dialog.modalHostRepositioned(); |