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

Unified Diff: third_party/WebKit/Source/devtools/front_end/Runtime.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
« no previous file with comments | « no previous file | third_party/WebKit/Source/devtools/front_end/audits/AuditCategory.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/devtools/front_end/Runtime.js
diff --git a/third_party/WebKit/Source/devtools/front_end/Runtime.js b/third_party/WebKit/Source/devtools/front_end/Runtime.js
index 060b400e2eab64cb01775f34690db34a0abb8611..8ed65a359d7cbf3bf25b5bb7e50d3c300b43a00e 100644
--- a/third_party/WebKit/Source/devtools/front_end/Runtime.js
+++ b/third_party/WebKit/Source/devtools/front_end/Runtime.js
@@ -1106,18 +1106,18 @@ ServicePort.prototype = {
* @param {function(string)} messageHandler
* @param {function(string)} closeHandler
*/
- setHandlers: function(messageHandler, closeHandler) {},
+ setHandlers(messageHandler, closeHandler) {},
/**
* @param {string} message
* @return {!Promise<boolean>}
*/
- send: function(message) {},
+ send(message) {},
/**
* @return {!Promise<boolean>}
*/
- close: function() {}
+ close() {}
};
/** @type {!Runtime} */
« no previous file with comments | « no previous file | third_party/WebKit/Source/devtools/front_end/audits/AuditCategory.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698