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

Unified Diff: third_party/WebKit/Source/devtools/front_end/ui/SuggestBox.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/SuggestBox.js
diff --git a/third_party/WebKit/Source/devtools/front_end/ui/SuggestBox.js b/third_party/WebKit/Source/devtools/front_end/ui/SuggestBox.js
index a61274dab13f60589f454808dfa090ffbef1b4ca..18164bd77e335f0a2a3a25cd3e5edf8cf7c3727a 100644
--- a/third_party/WebKit/Source/devtools/front_end/ui/SuggestBox.js
+++ b/third_party/WebKit/Source/devtools/front_end/ui/SuggestBox.js
@@ -37,12 +37,12 @@ UI.SuggestBoxDelegate.prototype = {
* @param {string} suggestion
* @param {boolean=} isIntermediateSuggestion
*/
- applySuggestion: function(suggestion, isIntermediateSuggestion) {},
+ applySuggestion(suggestion, isIntermediateSuggestion) {},
/**
* acceptSuggestion will be always called after call to applySuggestion with isIntermediateSuggestion being equal to false.
*/
- acceptSuggestion: function() {},
+ acceptSuggestion() {},
};
/**

Powered by Google App Engine
This is Rietveld 408576698