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

Unified Diff: third_party/WebKit/Source/devtools/front_end/ui/FilterBar.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/FilterBar.js
diff --git a/third_party/WebKit/Source/devtools/front_end/ui/FilterBar.js b/third_party/WebKit/Source/devtools/front_end/ui/FilterBar.js
index 2d6a9cb46af00da700072c0e9785eca9aafaaf0b..b54e5c90aef91e29fe3dd247b909cdc80f026c82 100644
--- a/third_party/WebKit/Source/devtools/front_end/ui/FilterBar.js
+++ b/third_party/WebKit/Source/devtools/front_end/ui/FilterBar.js
@@ -177,12 +177,12 @@ UI.FilterUI.prototype = {
/**
* @return {boolean}
*/
- isActive: function() {},
+ isActive() {},
/**
* @return {!Element}
*/
- element: function() {}
+ element() {}
};
/**
@@ -423,19 +423,19 @@ UI.TextFilterUI.SuggestionBuilder.prototype = {
* @param {!HTMLInputElement} input
* @return {?Array.<string>}
*/
- buildSuggestions: function(input) {},
+ buildSuggestions(input) {},
/**
* @param {!HTMLInputElement} input
* @param {string} suggestion
* @param {boolean} isIntermediate
*/
- applySuggestion: function(input, suggestion, isIntermediate) {},
+ applySuggestion(input, suggestion, isIntermediate) {},
/**
* @param {!HTMLInputElement} input
*/
- unapplySuggestion: function(input) {}
+ unapplySuggestion(input) {}
};
/**

Powered by Google App Engine
This is Rietveld 408576698