Index: Source/devtools/front_end/timeline/TimelinePanel.js |
diff --git a/Source/devtools/front_end/timeline/TimelinePanel.js b/Source/devtools/front_end/timeline/TimelinePanel.js |
index 7d1896d58fc003cd5ad7a96c0da94f84f868ddc0..5db279a1f5af20e32f41183ac1cb27615149757a 100644 |
--- a/Source/devtools/front_end/timeline/TimelinePanel.js |
+++ b/Source/devtools/front_end/timeline/TimelinePanel.js |
@@ -865,6 +865,22 @@ WebInspector.TimelinePanel.prototype = { |
this._jumpToSearchResult(index - 1); |
}, |
+ /** |
+ * @return {boolean} |
+ */ |
+ supportsCaseSensitiveSearch: function() |
+ { |
+ return false; |
+ }, |
+ |
+ /** |
+ * @return {boolean} |
+ */ |
+ supportsRegexSearch: function() |
+ { |
+ return false; |
+ }, |
+ |
_jumpToSearchResult: function(index) |
{ |
this._selectSearchResult((index + this._searchResults.length) % this._searchResults.length); |
@@ -949,12 +965,13 @@ WebInspector.TimelinePanel.prototype = { |
}, |
/** |
- * @param {string} query |
+ * @param {!WebInspector.SearchableView.SearchConfig} searchConfig |
* @param {boolean} shouldJump |
* @param {boolean=} jumpBackwards |
*/ |
- performSearch: function(query, shouldJump, jumpBackwards) |
+ performSearch: function(searchConfig, shouldJump, jumpBackwards) |
{ |
+ var query = searchConfig.query; |
this._searchRegex = createPlainTextSearchRegex(query, "i"); |
delete this._searchResults; |
this._updateSearchHighlight(true, shouldJump, jumpBackwards); |