| 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 223 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 234 /** | 234 /** |
| 235 * @param {!WebInspector.Event} event | 235 * @param {!WebInspector.Event} event |
| 236 */ | 236 */ |
| 237 _onWindowChanged: function(event) | 237 _onWindowChanged: function(event) |
| 238 { | 238 { |
| 239 this._windowStartTime = event.data.startTime; | 239 this._windowStartTime = event.data.startTime; |
| 240 this._windowEndTime = event.data.endTime; | 240 this._windowEndTime = event.data.endTime; |
| 241 | 241 |
| 242 for (var i = 0; i < this._currentViews.length; ++i) | 242 for (var i = 0; i < this._currentViews.length; ++i) |
| 243 this._currentViews[i].setWindowTimes(this._windowStartTime, this._wi
ndowEndTime); | 243 this._currentViews[i].setWindowTimes(this._windowStartTime, this._wi
ndowEndTime); |
| 244 this._updateSelectedRangeStats(); | |
| 245 }, | 244 }, |
| 246 | 245 |
| 247 /** | 246 /** |
| 248 * @param {number} windowStartTime | 247 * @param {number} windowStartTime |
| 249 * @param {number} windowEndTime | 248 * @param {number} windowEndTime |
| 250 */ | 249 */ |
| 251 requestWindowTimes: function(windowStartTime, windowEndTime) | 250 requestWindowTimes: function(windowStartTime, windowEndTime) |
| 252 { | 251 { |
| 253 this._overviewPane.requestWindowTimes(windowStartTime, windowEndTime); | 252 this._overviewPane.requestWindowTimes(windowStartTime, windowEndTime); |
| 254 }, | 253 }, |
| (...skipping 1190 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1445 * @param {!WebInspector.TimelineModel.Record} record | 1444 * @param {!WebInspector.TimelineModel.Record} record |
| 1446 * @return {boolean} | 1445 * @return {boolean} |
| 1447 */ | 1446 */ |
| 1448 accept: function(record) | 1447 accept: function(record) |
| 1449 { | 1448 { |
| 1450 return !this._regex || this._uiUtils.testContentMatching(record, this._r
egex); | 1449 return !this._regex || this._uiUtils.testContentMatching(record, this._r
egex); |
| 1451 }, | 1450 }, |
| 1452 | 1451 |
| 1453 __proto__: WebInspector.TimelineModel.Filter.prototype | 1452 __proto__: WebInspector.TimelineModel.Filter.prototype |
| 1454 } | 1453 } |
| OLD | NEW |