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

Side by Side 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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2014 Google Inc. All rights reserved. 2 * Copyright (C) 2014 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 1422 matching lines...) Expand 10 before | Expand all | Expand 10 after
1433 * @param {number} windowStartTime 1433 * @param {number} windowStartTime
1434 * @param {number} windowEndTime 1434 * @param {number} windowEndTime
1435 */ 1435 */
1436 requestWindowTimes: function(windowStartTime, windowEndTime) 1436 requestWindowTimes: function(windowStartTime, windowEndTime)
1437 { 1437 {
1438 this._delegate.requestWindowTimes(windowStartTime, windowEndTime); 1438 this._delegate.requestWindowTimes(windowStartTime, windowEndTime);
1439 }, 1439 },
1440 1440
1441 /** 1441 /**
1442 * @override 1442 * @override
1443 * @param {number} entryIndex
1444 */
1445 requestSelectionChange: function(entryIndex)
1446 {
1447 this._delegate.select(this._dataProvider.createSelection(entryIndex));
1448 },
1449
1450 /**
1451 * @override
1443 * @param {number} startTime 1452 * @param {number} startTime
1444 * @param {number} endTime 1453 * @param {number} endTime
1445 */ 1454 */
1446 updateRangeSelection: function(startTime, endTime) 1455 updateRangeSelection: function(startTime, endTime)
1447 { 1456 {
1448 this._delegate.select(WebInspector.TimelineSelection.fromRange(startTime , endTime)); 1457 this._delegate.select(WebInspector.TimelineSelection.fromRange(startTime , endTime));
1449 }, 1458 },
1450 1459
1451 /** 1460 /**
1452 * @override 1461 * @override
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
1582 /** 1591 /**
1583 * @constructor 1592 * @constructor
1584 * @param {!WebInspector.TimelineSelection} selection 1593 * @param {!WebInspector.TimelineSelection} selection
1585 * @param {number} entryIndex 1594 * @param {number} entryIndex
1586 */ 1595 */
1587 WebInspector.TimelineFlameChartView.Selection = function(selection, entryIndex) 1596 WebInspector.TimelineFlameChartView.Selection = function(selection, entryIndex)
1588 { 1597 {
1589 this.timelineSelection = selection; 1598 this.timelineSelection = selection;
1590 this.entryIndex = entryIndex; 1599 this.entryIndex = entryIndex;
1591 } 1600 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698