OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2012 Google Inc. All rights reserved. | 2 * Copyright (C) 2012 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 220 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
231 this._counterUI[i].updateCurrentValue(this._markerXPosition); | 231 this._counterUI[i].updateCurrentValue(this._markerXPosition); |
232 }, | 232 }, |
233 | 233 |
234 refresh: function() | 234 refresh: function() |
235 { | 235 { |
236 this._timelineGrid.updateDividers(this._calculator); | 236 this._timelineGrid.updateDividers(this._calculator); |
237 this.draw(); | 237 this.draw(); |
238 this._refreshCurrentValues(); | 238 this._refreshCurrentValues(); |
239 }, | 239 }, |
240 | 240 |
241 refreshRecords: function() | 241 /** |
| 242 * @override |
| 243 * @param {?RegExp} textFilter |
| 244 */ |
| 245 refreshRecords: function(textFilter) |
242 { | 246 { |
243 }, | 247 }, |
244 | 248 |
245 _clear: function() | 249 _clear: function() |
246 { | 250 { |
247 var ctx = this._canvas.getContext("2d"); | 251 var ctx = this._canvas.getContext("2d"); |
248 ctx.clearRect(0, 0, ctx.canvas.width, ctx.canvas.height); | 252 ctx.clearRect(0, 0, ctx.canvas.width, ctx.canvas.height); |
249 }, | 253 }, |
250 | 254 |
251 /** | 255 /** |
(...skipping 302 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
554 }, | 558 }, |
555 | 559 |
556 _toggleCheckbox: function(event) | 560 _toggleCheckbox: function(event) |
557 { | 561 { |
558 this.checked = !this.checked; | 562 this.checked = !this.checked; |
559 this.dispatchEventToListeners(WebInspector.SwatchCheckbox.Events.Changed
); | 563 this.dispatchEventToListeners(WebInspector.SwatchCheckbox.Events.Changed
); |
560 }, | 564 }, |
561 | 565 |
562 __proto__: WebInspector.Object.prototype | 566 __proto__: WebInspector.Object.prototype |
563 } | 567 } |
OLD | NEW |