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

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

Issue 2867713006: [Devtools] Added report miss-match link to network product entries (Closed)
Patch Set: changes 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 563 matching lines...) Expand 10 before | Expand all | Expand 10 after
574 /** 574 /**
575 * @param {!Event} event 575 * @param {!Event} event
576 */ 576 */
577 _dataGridMouseMove(event) { 577 _dataGridMouseMove(event) {
578 var node = (this._dataGrid.dataGridNodeFromNode(/** @type {!Node} */ (event. target))); 578 var node = (this._dataGrid.dataGridNodeFromNode(/** @type {!Node} */ (event. target)));
579 var highlightInitiatorChain = event.shiftKey; 579 var highlightInitiatorChain = event.shiftKey;
580 this._setHoveredNode(node, highlightInitiatorChain); 580 this._setHoveredNode(node, highlightInitiatorChain);
581 } 581 }
582 582
583 /** 583 /**
584 * @return {?Network.NetworkNode}
585 */
586 hoveredNode() {
587 return this._hoveredNode;
588 }
589
590 /**
584 * @param {?Network.NetworkNode} node 591 * @param {?Network.NetworkNode} node
585 * @param {boolean=} highlightInitiatorChain 592 * @param {boolean=} highlightInitiatorChain
586 */ 593 */
587 _setHoveredNode(node, highlightInitiatorChain) { 594 _setHoveredNode(node, highlightInitiatorChain) {
588 if (this._hoveredNode) 595 if (this._hoveredNode)
589 this._hoveredNode.setHovered(false, false); 596 this._hoveredNode.setHovered(false, false);
590 this._hoveredNode = node; 597 this._hoveredNode = node;
591 if (this._hoveredNode) 598 if (this._hoveredNode)
592 this._hoveredNode.setHovered(true, !!highlightInitiatorChain); 599 this._hoveredNode.setHovered(true, !!highlightInitiatorChain);
593 } 600 }
(...skipping 1230 matching lines...) Expand 10 before | Expand all | Expand 10 after
1824 initialize: function() {}, 1831 initialize: function() {},
1825 1832
1826 /** 1833 /**
1827 * @param {!SDK.NetworkRequest} request 1834 * @param {!SDK.NetworkRequest} request
1828 * @return {?Network.NetworkGroupNode} 1835 * @return {?Network.NetworkGroupNode}
1829 */ 1836 */
1830 groupNodeForRequest: function(request) {}, 1837 groupNodeForRequest: function(request) {},
1831 1838
1832 reset: function() {} 1839 reset: function() {}
1833 }; 1840 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698