| 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 1058 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1069 this._hideNetworkMessagesCheckbox = new WebInspector.CheckboxFilterUI( | 1069 this._hideNetworkMessagesCheckbox = new WebInspector.CheckboxFilterUI( |
| 1070 'hide-network-messages', WebInspector.UIString('Hide network messages'),
true, | 1070 'hide-network-messages', WebInspector.UIString('Hide network messages'),
true, |
| 1071 WebInspector.moduleSetting('hideNetworkMessages')); | 1071 WebInspector.moduleSetting('hideNetworkMessages')); |
| 1072 this._hideNetworkMessagesCheckbox.addEventListener( | 1072 this._hideNetworkMessagesCheckbox.addEventListener( |
| 1073 WebInspector.FilterUI.Events.FilterChanged, this._filterChanged.bind(thi
s), this); | 1073 WebInspector.FilterUI.Events.FilterChanged, this._filterChanged.bind(thi
s), this); |
| 1074 filterBar.addFilter(this._hideNetworkMessagesCheckbox); | 1074 filterBar.addFilter(this._hideNetworkMessagesCheckbox); |
| 1075 | 1075 |
| 1076 var levels = [ | 1076 var levels = [ |
| 1077 {name: WebInspector.ConsoleMessage.MessageLevel.Error, label: WebInspector
.UIString('Errors')}, | 1077 {name: WebInspector.ConsoleMessage.MessageLevel.Error, label: WebInspector
.UIString('Errors')}, |
| 1078 {name: WebInspector.ConsoleMessage.MessageLevel.Warning, label: WebInspect
or.UIString('Warnings')}, | 1078 {name: WebInspector.ConsoleMessage.MessageLevel.Warning, label: WebInspect
or.UIString('Warnings')}, |
| 1079 {name: WebInspector.ConsoleMessage.MessageLevel.Violation, label: WebInspe
ctor.UIString('Violations')}, |
| 1079 {name: WebInspector.ConsoleMessage.MessageLevel.Info, label: WebInspector.
UIString('Info')}, | 1080 {name: WebInspector.ConsoleMessage.MessageLevel.Info, label: WebInspector.
UIString('Info')}, |
| 1080 {name: WebInspector.ConsoleMessage.MessageLevel.Log, label: WebInspector.U
IString('Logs')}, | 1081 {name: WebInspector.ConsoleMessage.MessageLevel.Log, label: WebInspector.U
IString('Logs')}, |
| 1081 {name: WebInspector.ConsoleMessage.MessageLevel.Debug, label: WebInspector
.UIString('Debug')}, | 1082 {name: WebInspector.ConsoleMessage.MessageLevel.Debug, label: WebInspector
.UIString('Debug')}, |
| 1082 {name: WebInspector.ConsoleMessage.MessageLevel.RevokedError, label: WebIn
spector.UIString('Handled')} | 1083 {name: WebInspector.ConsoleMessage.MessageLevel.RevokedError, label: WebIn
spector.UIString('Handled')} |
| 1083 ]; | 1084 ]; |
| 1084 this._levelFilterUI = new WebInspector.NamedBitSetFilterUI(levels, this._mes
sageLevelFiltersSetting); | 1085 this._levelFilterUI = new WebInspector.NamedBitSetFilterUI(levels, this._mes
sageLevelFiltersSetting); |
| 1085 this._levelFilterUI.addEventListener(WebInspector.FilterUI.Events.FilterChan
ged, this._filterChanged, this); | 1086 this._levelFilterUI.addEventListener(WebInspector.FilterUI.Events.FilterChan
ged, this._filterChanged, this); |
| 1086 filterBar.addFilter(this._levelFilterUI); | 1087 filterBar.addFilter(this._levelFilterUI); |
| 1087 } | 1088 } |
| 1088 | 1089 |
| (...skipping 234 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1323 return true; | 1324 return true; |
| 1324 } | 1325 } |
| 1325 return false; | 1326 return false; |
| 1326 } | 1327 } |
| 1327 }; | 1328 }; |
| 1328 | 1329 |
| 1329 /** | 1330 /** |
| 1330 * @typedef {{messageIndex: number, matchIndex: number}} | 1331 * @typedef {{messageIndex: number, matchIndex: number}} |
| 1331 */ | 1332 */ |
| 1332 WebInspector.ConsoleView.RegexMatchRange; | 1333 WebInspector.ConsoleView.RegexMatchRange; |
| OLD | NEW |