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

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

Issue 1232733002: DevTools: [network] Show request Start time in timing table (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: post-fork. queuing is inside of total. queued time, too Created 5 years, 1 month 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/devtools/front_end/network/RequestTimingView.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 1232 matching lines...) Expand 10 before | Expand all | Expand 10 after
1243 */ 1243 */
1244 _showPopover: function(anchor, popover) 1244 _showPopover: function(anchor, popover)
1245 { 1245 {
1246 var content; 1246 var content;
1247 if (anchor.classList.contains("network-script-initiated")) { 1247 if (anchor.classList.contains("network-script-initiated")) {
1248 var request = /** @type {!WebInspector.NetworkRequest} */ (anchor.re quest); 1248 var request = /** @type {!WebInspector.NetworkRequest} */ (anchor.re quest);
1249 var initiator = /** @type {!NetworkAgent.Initiator} */ (request.init iator()); 1249 var initiator = /** @type {!NetworkAgent.Initiator} */ (request.init iator());
1250 content = WebInspector.DOMPresentationUtils.buildStackTracePreviewCo ntents(request.target(), this._popupLinkifier, initiator.stackTrace, initiator.a syncStackTrace); 1250 content = WebInspector.DOMPresentationUtils.buildStackTracePreviewCo ntents(request.target(), this._popupLinkifier, initiator.stackTrace, initiator.a syncStackTrace);
1251 popover.setCanShrink(true); 1251 popover.setCanShrink(true);
1252 } else { 1252 } else {
1253 content = WebInspector.RequestTimingView.createTimingTable(anchor.pa rentElement.request, this._timeCalculator.minimumBoundary()); 1253 content = WebInspector.RequestTimingView.createTimingTable(anchor.pa rentElement.request, this._timeCalculator);
1254 popover.setCanShrink(false); 1254 popover.setCanShrink(false);
1255 } 1255 }
1256 popover.showForAnchor(content, anchor); 1256 popover.showForAnchor(content, anchor);
1257 }, 1257 },
1258 1258
1259 _onHidePopover: function() 1259 _onHidePopover: function()
1260 { 1260 {
1261 this._popupLinkifier.reset(); 1261 this._popupLinkifier.reset();
1262 }, 1262 },
1263 1263
(...skipping 902 matching lines...) Expand 10 before | Expand all | Expand 10 after
2166 return false; 2166 return false;
2167 return true; 2167 return true;
2168 } 2168 }
2169 2169
2170 WebInspector.NetworkLogView.EventTypes = { 2170 WebInspector.NetworkLogView.EventTypes = {
2171 RequestSelected: "RequestSelected", 2171 RequestSelected: "RequestSelected",
2172 SearchCountUpdated: "SearchCountUpdated", 2172 SearchCountUpdated: "SearchCountUpdated",
2173 SearchIndexUpdated: "SearchIndexUpdated", 2173 SearchIndexUpdated: "SearchIndexUpdated",
2174 UpdateRequest: "UpdateRequest" 2174 UpdateRequest: "UpdateRequest"
2175 }; 2175 };
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/devtools/front_end/network/RequestTimingView.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698