Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(232)

Side by Side Diff: third_party/WebKit/Source/devtools/front_end/network/NetworkLogView.js

Issue 2879943003: DevTools: render product badges behind the setting. (Closed)
Patch Set: removed module from the list. Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 /** @type {!Array.<!Network.NetworkLogView.Filter>} */ 83 /** @type {!Array.<!Network.NetworkLogView.Filter>} */
84 this._filters = []; 84 this._filters = [];
85 /** @type {?Network.NetworkLogView.Filter} */ 85 /** @type {?Network.NetworkLogView.Filter} */
86 this._timeFilter = null; 86 this._timeFilter = null;
87 /** @type {?Network.NetworkNode} */ 87 /** @type {?Network.NetworkNode} */
88 this._hoveredNode = null; 88 this._hoveredNode = null;
89 89
90 this._currentMatchedRequestNode = null; 90 this._currentMatchedRequestNode = null;
91 this._currentMatchedRequestIndex = -1; 91 this._currentMatchedRequestIndex = -1;
92 92
93 /** @type {!Components.Linkifier} */
94 this.linkifier = new Components.Linkifier(); 93 this.linkifier = new Components.Linkifier();
94 this.badgePool = new ProductRegistry.BadgePool();
95 95
96 this._recording = false; 96 this._recording = false;
97 this._preserveLog = false; 97 this._preserveLog = false;
98 98
99 this._headerHeight = 0; 99 this._headerHeight = 0;
100 100
101 /** @type {!Map<string, !Network.GroupLookupInterface>} */ 101 /** @type {!Map<string, !Network.GroupLookupInterface>} */
102 this._groupLookups = new Map(); 102 this._groupLookups = new Map();
103 this._groupLookups.set('Frame', new Network.FrameGrouper(this)); 103 this._groupLookups.set('Frame', new Network.FrameGrouper(this));
104 104
(...skipping 810 matching lines...) Expand 10 before | Expand all | Expand 10 after
915 this._clearSearchMatchedList(); 915 this._clearSearchMatchedList();
916 916
917 this._setHoveredNode(null); 917 this._setHoveredNode(null);
918 this._columns.reset(); 918 this._columns.reset();
919 919
920 this._timeFilter = null; 920 this._timeFilter = null;
921 this._calculator.reset(); 921 this._calculator.reset();
922 922
923 this._timeCalculator.setWindow(null); 923 this._timeCalculator.setWindow(null);
924 this.linkifier.reset(); 924 this.linkifier.reset();
925 this.badgePool.reset();
925 926
926 if (this._activeGroupLookup) 927 if (this._activeGroupLookup)
927 this._activeGroupLookup.reset(); 928 this._activeGroupLookup.reset();
928 this._nodesByRequestId.clear(); 929 this._nodesByRequestId.clear();
929 this._staleRequestIds = {}; 930 this._staleRequestIds = {};
930 this._resetSuggestionBuilder(); 931 this._resetSuggestionBuilder();
931 932
932 this._mainRequestLoadTime = -1; 933 this._mainRequestLoadTime = -1;
933 this._mainRequestDOMContentLoadedTime = -1; 934 this._mainRequestDOMContentLoadedTime = -1;
934 935
(...skipping 893 matching lines...) Expand 10 before | Expand all | Expand 10 after
1828 initialize: function() {}, 1829 initialize: function() {},
1829 1830
1830 /** 1831 /**
1831 * @param {!SDK.NetworkRequest} request 1832 * @param {!SDK.NetworkRequest} request
1832 * @return {?Network.NetworkGroupNode} 1833 * @return {?Network.NetworkGroupNode}
1833 */ 1834 */
1834 groupNodeForRequest: function(request) {}, 1835 groupNodeForRequest: function(request) {},
1835 1836
1836 reset: function() {} 1837 reset: function() {}
1837 }; 1838 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698