| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2007, 2008 Apple Inc. All rights reserved. | 2 * Copyright (C) 2007, 2008 Apple Inc. All rights reserved. |
| 3 * Copyright (C) 2009 Joseph Pecoraro | 3 * Copyright (C) 2009 Joseph Pecoraro |
| 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 | 6 * modification, are permitted provided that the following conditions |
| 7 * are met: | 7 * are met: |
| 8 * | 8 * |
| 9 * 1. Redistributions of source code must retain the above copyright | 9 * 1. 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 695 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 706 this._hiddenByFilterCount = 0; | 706 this._hiddenByFilterCount = 0; |
| 707 for (var i = 0; i < this._visibleViewMessages.length; ++i) { | 707 for (var i = 0; i < this._visibleViewMessages.length; ++i) { |
| 708 this._visibleViewMessages[i].resetCloseGroupDecorationCount(); | 708 this._visibleViewMessages[i].resetCloseGroupDecorationCount(); |
| 709 this._visibleViewMessages[i].resetIncrementRepeatCount(); | 709 this._visibleViewMessages[i].resetIncrementRepeatCount(); |
| 710 } | 710 } |
| 711 this._visibleViewMessages = []; | 711 this._visibleViewMessages = []; |
| 712 for (var i = 0; i < this._consoleMessages.length; ++i) | 712 for (var i = 0; i < this._consoleMessages.length; ++i) |
| 713 this._appendMessageToEnd(this._consoleMessages[i]); | 713 this._appendMessageToEnd(this._consoleMessages[i]); |
| 714 this._updateFilterStatus(); | 714 this._updateFilterStatus(); |
| 715 this._searchableView.updateSearchMatchesCount(this._regexMatchRanges.length)
; | 715 this._searchableView.updateSearchMatchesCount(this._regexMatchRanges.length)
; |
| 716 this._viewport.invalidate(); | 716 this._viewport.fullViewportInvalidate(); |
| 717 } | 717 } |
| 718 | 718 |
| 719 /** | 719 /** |
| 720 * @param {!Common.Event} event | 720 * @param {!Common.Event} event |
| 721 */ | 721 */ |
| 722 _monitoringXHREnabledSettingChanged(event) { | 722 _monitoringXHREnabledSettingChanged(event) { |
| 723 var enabled = /** @type {boolean} */ (event.data); | 723 var enabled = /** @type {boolean} */ (event.data); |
| 724 SDK.targetManager.targets().forEach(function(target) { | 724 SDK.targetManager.targets().forEach(function(target) { |
| 725 target.networkAgent().setMonitoringXHREnabled(enabled); | 725 target.networkAgent().setMonitoringXHREnabled(enabled); |
| 726 }); | 726 }); |
| (...skipping 602 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1329 return true; | 1329 return true; |
| 1330 } | 1330 } |
| 1331 return false; | 1331 return false; |
| 1332 } | 1332 } |
| 1333 }; | 1333 }; |
| 1334 | 1334 |
| 1335 /** | 1335 /** |
| 1336 * @typedef {{messageIndex: number, matchIndex: number}} | 1336 * @typedef {{messageIndex: number, matchIndex: number}} |
| 1337 */ | 1337 */ |
| 1338 Console.ConsoleView.RegexMatchRange; | 1338 Console.ConsoleView.RegexMatchRange; |
| OLD | NEW |