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

Unified Diff: third_party/WebKit/Source/devtools/front_end/ui/ListWidget.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/ui/ListWidget.js
diff --git a/third_party/WebKit/Source/devtools/front_end/ui/ListWidget.js b/third_party/WebKit/Source/devtools/front_end/ui/ListWidget.js
index 0148828b1b5d20bae4fa79dbc0374c9d60312bde..237c3e773b069f21f5f7057f7608e12532e9b1a2 100644
--- a/third_party/WebKit/Source/devtools/front_end/ui/ListWidget.js
+++ b/third_party/WebKit/Source/devtools/front_end/ui/ListWidget.js
@@ -226,26 +226,26 @@ UI.ListWidget.Delegate.prototype = {
* @param {boolean} editable
* @return {!Element}
*/
- renderItem: function(item, editable) {},
+ renderItem(item, editable) {},
/**
* @param {*} item
* @param {number} index
*/
- removeItemRequested: function(item, index) {},
+ removeItemRequested(item, index) {},
/**
* @param {*} item
* @return {!UI.ListWidget.Editor}
*/
- beginEdit: function(item) {},
+ beginEdit(item) {},
/**
* @param {*} item
* @param {!UI.ListWidget.Editor} editor
* @param {boolean} isNew
*/
- commitEdit: function(item, editor, isNew) {}
+ commitEdit(item, editor, isNew) {}
};
/**

Powered by Google App Engine
This is Rietveld 408576698