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

Unified Diff: third_party/WebKit/Source/devtools/front_end/ui/SearchableView.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/SearchableView.js
diff --git a/third_party/WebKit/Source/devtools/front_end/ui/SearchableView.js b/third_party/WebKit/Source/devtools/front_end/ui/SearchableView.js
index 32564d45febfc76939110ce85fc0dfd5f09d1661..d7f95e8198ea7397e97d455fbb60ef14a89933ff 100644
--- a/third_party/WebKit/Source/devtools/front_end/ui/SearchableView.js
+++ b/third_party/WebKit/Source/devtools/front_end/ui/SearchableView.js
@@ -531,28 +531,28 @@ UI.SearchableView._symbol = Symbol('searchableView');
UI.Searchable = function() {};
UI.Searchable.prototype = {
- searchCanceled: function() {},
+ searchCanceled() {},
/**
* @param {!UI.SearchableView.SearchConfig} searchConfig
* @param {boolean} shouldJump
* @param {boolean=} jumpBackwards
*/
- performSearch: function(searchConfig, shouldJump, jumpBackwards) {},
+ performSearch(searchConfig, shouldJump, jumpBackwards) {},
- jumpToNextSearchResult: function() {},
+ jumpToNextSearchResult() {},
- jumpToPreviousSearchResult: function() {},
+ jumpToPreviousSearchResult() {},
/**
* @return {boolean}
*/
- supportsCaseSensitiveSearch: function() {},
+ supportsCaseSensitiveSearch() {},
/**
* @return {boolean}
*/
- supportsRegexSearch: function() {}
+ supportsRegexSearch() {}
};
/**
@@ -565,13 +565,13 @@ UI.Replaceable.prototype = {
* @param {!UI.SearchableView.SearchConfig} searchConfig
* @param {string} replacement
*/
- replaceSelectionWith: function(searchConfig, replacement) {},
+ replaceSelectionWith(searchConfig, replacement) {},
/**
* @param {!UI.SearchableView.SearchConfig} searchConfig
* @param {string} replacement
*/
- replaceAllWith: function(searchConfig, replacement) {}
+ replaceAllWith(searchConfig, replacement) {}
};
/**

Powered by Google App Engine
This is Rietveld 408576698