| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2012 Google Inc. All rights reserved. | 2 * Copyright (C) 2012 Google Inc. All rights reserved. |
| 3 * Copyright (C) 2012 Intel Inc. All rights reserved. | 3 * Copyright (C) 2012 Intel Inc. All rights reserved. |
| 4 * | 4 * |
| 5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
| 6 * modification, are permitted provided that the following conditions are | 6 * modification, are permitted provided that the following conditions are |
| 7 * met: | 7 * met: |
| 8 * | 8 * |
| 9 * * Redistributions of source code must retain the above copyright | 9 * * Redistributions of source code must retain the above copyright |
| 10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
| (...skipping 1380 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1391 { | 1391 { |
| 1392 this._init(); | 1392 this._init(); |
| 1393 this._heavyChart.reset(); | 1393 this._heavyChart.reset(); |
| 1394 this._dataProvider.setWindowTimes(selection._startTime, selection._endTi
me); | 1394 this._dataProvider.setWindowTimes(selection._startTime, selection._endTi
me); |
| 1395 this._dataProvider.timelineData(); | 1395 this._dataProvider.timelineData(); |
| 1396 this._heavyChart.setWindowTimes(0, this._dataProvider.totalTime()); | 1396 this._heavyChart.setWindowTimes(0, this._dataProvider.totalTime()); |
| 1397 }, | 1397 }, |
| 1398 | 1398 |
| 1399 /** | 1399 /** |
| 1400 * @override | 1400 * @override |
| 1401 * @param {number} entryIndex |
| 1402 */ |
| 1403 requestSelectionChange: function(entryIndex) |
| 1404 { |
| 1405 }, |
| 1406 |
| 1407 /** |
| 1408 * @override |
| 1401 * @param {number} startTime | 1409 * @param {number} startTime |
| 1402 * @param {number} endTime | 1410 * @param {number} endTime |
| 1403 */ | 1411 */ |
| 1404 requestWindowTimes: function(startTime, endTime) | 1412 requestWindowTimes: function(startTime, endTime) |
| 1405 { | 1413 { |
| 1406 this._heavyChart.setWindowTimes(startTime, endTime); | 1414 this._heavyChart.setWindowTimes(startTime, endTime); |
| 1407 }, | 1415 }, |
| 1408 | 1416 |
| 1409 /** | 1417 /** |
| 1410 * @override | 1418 * @override |
| (...skipping 366 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1777 * @override | 1785 * @override |
| 1778 * @param {string} value | 1786 * @param {string} value |
| 1779 */ | 1787 */ |
| 1780 handleQueryParam: function(value) | 1788 handleQueryParam: function(value) |
| 1781 { | 1789 { |
| 1782 WebInspector.TimelinePanel.show(); | 1790 WebInspector.TimelinePanel.show(); |
| 1783 WebInspector.TimelinePanel.instance()._loadFromURL(value); | 1791 WebInspector.TimelinePanel.instance()._loadFromURL(value); |
| 1784 } | 1792 } |
| 1785 } | 1793 } |
| 1786 | 1794 |
| OLD | NEW |