Chromium Code Reviews| 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) 2008, 2009 Anthony Ricaud <rik@webkit.org> | 3 * Copyright (C) 2008, 2009 Anthony Ricaud <rik@webkit.org> |
| 4 * Copyright (C) 2011 Google Inc. All rights reserved. | 4 * Copyright (C) 2011 Google Inc. All rights reserved. |
| 5 * | 5 * |
| 6 * Redistribution and use in source and binary forms, with or without | 6 * Redistribution and use in source and binary forms, with or without |
| 7 * modification, are permitted provided that the following conditions | 7 * modification, are permitted provided that the following conditions |
| 8 * are met: | 8 * are met: |
| 9 * | 9 * |
| 10 * 1. Redistributions of source code must retain the above copyright | 10 * 1. Redistributions of source code must retain the above copyright |
| (...skipping 1037 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1048 this._timelineGrid.removeEventDividers(); | 1048 this._timelineGrid.removeEventDividers(); |
| 1049 | 1049 |
| 1050 if (this._dataGrid) { | 1050 if (this._dataGrid) { |
| 1051 this._dataGrid.rootNode().removeChildren(); | 1051 this._dataGrid.rootNode().removeChildren(); |
| 1052 this._updateDividersIfNeeded(); | 1052 this._updateDividersIfNeeded(); |
| 1053 this._updateSummaryBar(); | 1053 this._updateSummaryBar(); |
| 1054 } | 1054 } |
| 1055 }, | 1055 }, |
| 1056 | 1056 |
| 1057 /** | 1057 /** |
| 1058 * @param {string} filterString | 1058 * @param {string} filterString |
| 1059 */ | 1059 */ |
| 1060 setTextFilterValue: function(filterString) | 1060 setTextFilterValue: function(filterString) |
|
lushnikov
2016/05/24 22:50:36
Let's make this method reset regexChecked checkbox
allada
2016/05/26 21:33:07
Done.
| |
| 1061 { | 1061 { |
| 1062 this._textFilterUI.setValue(filterString); | 1062 this._textFilterUI.setValue(filterString); |
| 1063 }, | 1063 }, |
| 1064 | 1064 |
| 1065 /** | 1065 /** |
| 1066 * @param {string} filterString | |
| 1067 * @param {boolean} isRegex | |
| 1068 * @param {boolean} hideDataURLs | |
| 1069 */ | |
| 1070 setFilterValues: function(filterString, isRegex, hideDataURLs) { | |
| 1071 this._textFilterUI.setValue(filterString); | |
| 1072 this._textFilterUI.setRegexChecked(isRegex); | |
| 1073 this._dataURLFilterUI.setChecked(hideDataURLs); | |
| 1074 this._resourceCategoryFilterUI.reset(); | |
| 1075 }, | |
| 1076 | |
| 1077 /** | |
| 1066 * @param {!WebInspector.Event} event | 1078 * @param {!WebInspector.Event} event |
| 1067 */ | 1079 */ |
| 1068 _onRequestStarted: function(event) | 1080 _onRequestStarted: function(event) |
| 1069 { | 1081 { |
| 1070 if (!this._recording) | 1082 if (!this._recording) |
| 1071 return; | 1083 return; |
| 1072 var request = /** @type {!WebInspector.NetworkRequest} */ (event.data); | 1084 var request = /** @type {!WebInspector.NetworkRequest} */ (event.data); |
| 1073 this._appendRequest(request); | 1085 this._appendRequest(request); |
| 1074 }, | 1086 }, |
| 1075 | 1087 |
| (...skipping 1107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 2183 return false; | 2195 return false; |
| 2184 return true; | 2196 return true; |
| 2185 } | 2197 } |
| 2186 | 2198 |
| 2187 WebInspector.NetworkLogView.EventTypes = { | 2199 WebInspector.NetworkLogView.EventTypes = { |
| 2188 RequestSelected: "RequestSelected", | 2200 RequestSelected: "RequestSelected", |
| 2189 SearchCountUpdated: "SearchCountUpdated", | 2201 SearchCountUpdated: "SearchCountUpdated", |
| 2190 SearchIndexUpdated: "SearchIndexUpdated", | 2202 SearchIndexUpdated: "SearchIndexUpdated", |
| 2191 UpdateRequest: "UpdateRequest" | 2203 UpdateRequest: "UpdateRequest" |
| 2192 }; | 2204 }; |
| OLD | NEW |