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

Side by Side Diff: Source/devtools/front_end/network/NetworkPanel.js

Issue 471163005: DevTools: Resource Timing: expand table in detailed view. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 2 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
« no previous file with comments | « no previous file | 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 1035 matching lines...) Expand 10 before | Expand all | Expand 10 after
1046 } 1046 }
1047 }, 1047 },
1048 1048
1049 /** 1049 /**
1050 * @param {!Element} anchor 1050 * @param {!Element} anchor
1051 * @param {!WebInspector.Popover} popover 1051 * @param {!WebInspector.Popover} popover
1052 */ 1052 */
1053 _showPopover: function(anchor, popover) 1053 _showPopover: function(anchor, popover)
1054 { 1054 {
1055 var content; 1055 var content;
1056 if (anchor.classList.contains("network-script-initiated")) 1056 if (anchor.classList.contains("network-script-initiated")) {
1057 content = this._generateScriptInitiatedPopoverContent(anchor.request ); 1057 content = this._generateScriptInitiatedPopoverContent(anchor.request );
1058 else 1058 popover.setCanShrink(true);
1059 } else {
1059 content = WebInspector.RequestTimingView.createTimingTable(anchor.pa rentElement.request); 1060 content = WebInspector.RequestTimingView.createTimingTable(anchor.pa rentElement.request);
1061 popover.setCanShrink(false);
1062 }
1060 popover.show(content, anchor); 1063 popover.show(content, anchor);
1061 }, 1064 },
1062 1065
1063 _onHidePopover: function() 1066 _onHidePopover: function()
1064 { 1067 {
1065 this._linkifier.reset(); 1068 this._linkifier.reset();
1066 }, 1069 },
1067 1070
1068 /** 1071 /**
1069 * @param {!WebInspector.NetworkRequest} request 1072 * @param {!WebInspector.NetworkRequest} request
(...skipping 2061 matching lines...) Expand 10 before | Expand all | Expand 10 after
3131 3134
3132 WebInspector.NetworkPanelFactory.prototype = { 3135 WebInspector.NetworkPanelFactory.prototype = {
3133 /** 3136 /**
3134 * @return {!WebInspector.Panel} 3137 * @return {!WebInspector.Panel}
3135 */ 3138 */
3136 createPanel: function() 3139 createPanel: function()
3137 { 3140 {
3138 return WebInspector.NetworkPanel._instance(); 3141 return WebInspector.NetworkPanel._instance();
3139 } 3142 }
3140 } 3143 }
OLDNEW
« no previous file with comments | « no previous file | Source/devtools/front_end/network/RequestTimingView.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698