OLD | NEW |
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 260 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
271 WebInspector.TimelineFlameChart.prototype = { | 271 WebInspector.TimelineFlameChart.prototype = { |
272 /** | 272 /** |
273 * @param {number} windowStartTime | 273 * @param {number} windowStartTime |
274 * @param {number} windowEndTime | 274 * @param {number} windowEndTime |
275 */ | 275 */ |
276 requestWindowTimes: function(windowStartTime, windowEndTime) | 276 requestWindowTimes: function(windowStartTime, windowEndTime) |
277 { | 277 { |
278 this._delegate.requestWindowTimes(windowStartTime, windowEndTime); | 278 this._delegate.requestWindowTimes(windowStartTime, windowEndTime); |
279 }, | 279 }, |
280 | 280 |
281 refreshRecords: function() | 281 /** |
| 282 * @param {?RegExp} textFilter |
| 283 */ |
| 284 refreshRecords: function(textFilter) |
282 { | 285 { |
| 286 this._dataProvider._invalidate(); |
| 287 this._mainView._scheduleUpdate(); |
283 }, | 288 }, |
284 | 289 |
285 reset: function() | 290 reset: function() |
286 { | 291 { |
287 this._automaticallySizeWindow = true; | 292 this._automaticallySizeWindow = true; |
288 this._dataProvider.reset(); | 293 this._dataProvider.reset(); |
289 this._mainView.setWindowTimes(0, Infinity); | 294 this._mainView.setWindowTimes(0, Infinity); |
290 }, | 295 }, |
291 | 296 |
292 _onRecordingStarted: function() | 297 _onRecordingStarted: function() |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
349 | 354 |
350 /** | 355 /** |
351 * @param {?WebInspector.TimelineModel.Record} record | 356 * @param {?WebInspector.TimelineModel.Record} record |
352 */ | 357 */ |
353 setSelectedRecord: function(record) | 358 setSelectedRecord: function(record) |
354 { | 359 { |
355 }, | 360 }, |
356 | 361 |
357 __proto__: WebInspector.View.prototype | 362 __proto__: WebInspector.View.prototype |
358 } | 363 } |
OLD | NEW |