| 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 22 matching lines...) Expand all Loading... |
| 33 * @implements {WebInspector.Searchable} | 33 * @implements {WebInspector.Searchable} |
| 34 * @implements {WebInspector.TargetManager.Observer} | 34 * @implements {WebInspector.TargetManager.Observer} |
| 35 * @extends {WebInspector.VBox} | 35 * @extends {WebInspector.VBox} |
| 36 * @param {!WebInspector.FilterBar} filterBar | 36 * @param {!WebInspector.FilterBar} filterBar |
| 37 * @param {!Element} progressBarContainer | 37 * @param {!Element} progressBarContainer |
| 38 * @param {!WebInspector.Setting} networkLogLargeRowsSetting | 38 * @param {!WebInspector.Setting} networkLogLargeRowsSetting |
| 39 */ | 39 */ |
| 40 WebInspector.NetworkLogView = function(filterBar, progressBarContainer, networkL
ogLargeRowsSetting) | 40 WebInspector.NetworkLogView = function(filterBar, progressBarContainer, networkL
ogLargeRowsSetting) |
| 41 { | 41 { |
| 42 WebInspector.VBox.call(this); | 42 WebInspector.VBox.call(this); |
| 43 this.setMinimumSize(50, 64); |
| 43 this.registerRequiredCSS("network/networkLogView.css"); | 44 this.registerRequiredCSS("network/networkLogView.css"); |
| 44 this.registerRequiredCSS("ui/filter.css"); | 45 this.registerRequiredCSS("ui/filter.css"); |
| 45 | 46 |
| 46 this._networkHideDataURLSetting = WebInspector.settings.createSetting("netwo
rkHideDataURL", false); | 47 this._networkHideDataURLSetting = WebInspector.settings.createSetting("netwo
rkHideDataURL", false); |
| 47 this._networkResourceTypeFiltersSetting = WebInspector.settings.createSettin
g("networkResourceTypeFilters", {}); | 48 this._networkResourceTypeFiltersSetting = WebInspector.settings.createSettin
g("networkResourceTypeFilters", {}); |
| 48 this._networkShowPrimaryLoadWaterfallSetting = WebInspector.settings.createS
etting("networkShowPrimaryLoadWaterfall", false); | 49 this._networkShowPrimaryLoadWaterfallSetting = WebInspector.settings.createS
etting("networkShowPrimaryLoadWaterfall", false); |
| 49 | 50 |
| 50 this._filterBar = filterBar; | 51 this._filterBar = filterBar; |
| 51 this._progressBarContainer = progressBarContainer; | 52 this._progressBarContainer = progressBarContainer; |
| 52 this._networkLogLargeRowsSetting = networkLogLargeRowsSetting; | 53 this._networkLogLargeRowsSetting = networkLogLargeRowsSetting; |
| (...skipping 1968 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2021 return false; | 2022 return false; |
| 2022 return true; | 2023 return true; |
| 2023 } | 2024 } |
| 2024 | 2025 |
| 2025 WebInspector.NetworkLogView.EventTypes = { | 2026 WebInspector.NetworkLogView.EventTypes = { |
| 2026 RequestSelected: "RequestSelected", | 2027 RequestSelected: "RequestSelected", |
| 2027 SearchCountUpdated: "SearchCountUpdated", | 2028 SearchCountUpdated: "SearchCountUpdated", |
| 2028 SearchIndexUpdated: "SearchIndexUpdated", | 2029 SearchIndexUpdated: "SearchIndexUpdated", |
| 2029 UpdateRequest: "UpdateRequest" | 2030 UpdateRequest: "UpdateRequest" |
| 2030 }; | 2031 }; |
| OLD | NEW |