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 64e174ac40cb37c0eedd399cba062499ad735ac7..0f24a1c309a0fd24a18261dffb705aacc30ecb6f 100644 |
--- a/Source/devtools/front_end/timeline/TimelinePanel.js |
+++ b/Source/devtools/front_end/timeline/TimelinePanel.js |
@@ -859,6 +859,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); |
@@ -943,12 +959,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); |