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 1017 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1028 this._timelineGrid.removeEventDividers(); | 1028 this._timelineGrid.removeEventDividers(); |
1029 | 1029 |
1030 if (this._dataGrid) { | 1030 if (this._dataGrid) { |
1031 this._dataGrid.rootNode().removeChildren(); | 1031 this._dataGrid.rootNode().removeChildren(); |
1032 this._updateDividersIfNeeded(); | 1032 this._updateDividersIfNeeded(); |
1033 this._updateSummaryBar(); | 1033 this._updateSummaryBar(); |
1034 } | 1034 } |
1035 }, | 1035 }, |
1036 | 1036 |
1037 /** | 1037 /** |
| 1038 * @param {!WebInspector.NetworkLogView.FilterType} filterType |
| 1039 * @param {string} filterValue |
| 1040 */ |
| 1041 setTextFilterValue: function(filterType, filterValue) |
| 1042 { |
| 1043 this._textFilterUI.setValue(filterType + ":" + filterValue); |
| 1044 }, |
| 1045 |
| 1046 /** |
1038 * @param {!WebInspector.Event} event | 1047 * @param {!WebInspector.Event} event |
1039 */ | 1048 */ |
1040 _onRequestStarted: function(event) | 1049 _onRequestStarted: function(event) |
1041 { | 1050 { |
1042 if (!this._recording) | 1051 if (!this._recording) |
1043 return; | 1052 return; |
1044 var request = /** @type {!WebInspector.NetworkRequest} */ (event.data); | 1053 var request = /** @type {!WebInspector.NetworkRequest} */ (event.data); |
1045 this._appendRequest(request); | 1054 this._appendRequest(request); |
1046 }, | 1055 }, |
1047 | 1056 |
(...skipping 1098 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2146 return false; | 2155 return false; |
2147 return true; | 2156 return true; |
2148 } | 2157 } |
2149 | 2158 |
2150 WebInspector.NetworkLogView.EventTypes = { | 2159 WebInspector.NetworkLogView.EventTypes = { |
2151 RequestSelected: "RequestSelected", | 2160 RequestSelected: "RequestSelected", |
2152 SearchCountUpdated: "SearchCountUpdated", | 2161 SearchCountUpdated: "SearchCountUpdated", |
2153 SearchIndexUpdated: "SearchIndexUpdated", | 2162 SearchIndexUpdated: "SearchIndexUpdated", |
2154 UpdateRequest: "UpdateRequest" | 2163 UpdateRequest: "UpdateRequest" |
2155 }; | 2164 }; |
OLD | NEW |