Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(697)

Unified Diff: third_party/WebKit/Source/devtools/front_end/ui/InspectorView.js

Issue 2466123002: DevTools: reformat front-end code to match chromium style. (Closed)
Patch Set: Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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();

Powered by Google App Engine
This is Rietveld 408576698