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

Unified Diff: third_party/WebKit/Source/devtools/front_end/common/ModuleExtensionInterfaces.js

Issue 2515763003: DevTools: use shorthand syntax in interface definitions. (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/common/ModuleExtensionInterfaces.js
diff --git a/third_party/WebKit/Source/devtools/front_end/common/ModuleExtensionInterfaces.js b/third_party/WebKit/Source/devtools/front_end/common/ModuleExtensionInterfaces.js
index 91ff6216d2a7b26874305a2e92e5c699f98e81f5..c49ba9369963b4bc8b2cb83b0adb6bb6e928cfa9 100644
--- a/third_party/WebKit/Source/devtools/front_end/common/ModuleExtensionInterfaces.js
+++ b/third_party/WebKit/Source/devtools/front_end/common/ModuleExtensionInterfaces.js
@@ -11,7 +11,7 @@ Common.Renderer.prototype = {
* @param {!Object} object
* @return {!Promise.<!Element>}
*/
- render: function(object) {}
+ render(object) {}
};
/**
@@ -73,7 +73,7 @@ Common.Revealer.prototype = {
* @param {boolean=} omitFocus
* @return {!Promise}
*/
- reveal: function(object, omitFocus) {}
+ reveal(object, omitFocus) {}
};
/**
@@ -85,7 +85,7 @@ Common.App.prototype = {
/**
* @param {!Document} document
*/
- presentUI: function(document) {}
+ presentUI(document) {}
};
/**
@@ -97,7 +97,7 @@ Common.AppProvider.prototype = {
/**
* @return {!Common.App}
*/
- createApp: function() {}
+ createApp() {}
};
/**
@@ -109,5 +109,5 @@ Common.QueryParamHandler.prototype = {
/**
* @param {string} value
*/
- handleQueryParam: function(value) {}
+ handleQueryParam(value) {}
};

Powered by Google App Engine
This is Rietveld 408576698