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

Unified Diff: Source/devtools/front_end/timeline/TimelineFlameChart.js

Issue 1145053003: DevTools: Support keyboard arrows navigation on flame chart (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 7 months 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: Source/devtools/front_end/timeline/TimelineFlameChart.js
diff --git a/Source/devtools/front_end/timeline/TimelineFlameChart.js b/Source/devtools/front_end/timeline/TimelineFlameChart.js
index 75996c1e0bd3b3ccac9a4aa2b2cea854ed670031..ffe79233f0c5a4a91211c44f745e19d3b66edfd1 100644
--- a/Source/devtools/front_end/timeline/TimelineFlameChart.js
+++ b/Source/devtools/front_end/timeline/TimelineFlameChart.js
@@ -1440,6 +1440,15 @@ WebInspector.TimelineFlameChartView.prototype = {
/**
* @override
+ * @param {number} entryIndex
+ */
+ requestSelectionChange: function(entryIndex)
+ {
+ this._delegate.select(this._dataProvider.createSelection(entryIndex));
+ },
+
+ /**
+ * @override
* @param {number} startTime
* @param {number} endTime
*/

Powered by Google App Engine
This is Rietveld 408576698