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 538 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
549 this._hoveredNode = node; | 549 this._hoveredNode = node; |
550 if (this._hoveredNode) | 550 if (this._hoveredNode) |
551 this._hoveredNode.element().classList.add('hover'); | 551 this._hoveredNode.element().classList.add('hover'); |
552 this._columns.setHoveredRequest(this._hoveredNode ? this._hoveredNode.reques
t() : null, !!highlightInitiatorChain); | 552 this._columns.setHoveredRequest(this._hoveredNode ? this._hoveredNode.reques
t() : null, !!highlightInitiatorChain); |
553 } | 553 } |
554 | 554 |
555 /** | 555 /** |
556 * @param {!Event} event | 556 * @param {!Event} event |
557 */ | 557 */ |
558 _dataGridMouseDown(event) { | 558 _dataGridMouseDown(event) { |
559 if ((!this._dataGrid.selectedNode && event.button) || event.target.enclosing
NodeOrSelfWithNodeName('a')) | 559 if (!this._dataGrid.selectedNode && event.button) |
560 event.consume(); | 560 event.consume(); |
561 } | 561 } |
562 | 562 |
563 /** | 563 /** |
564 * @param {?SDK.NetworkRequest} request | 564 * @param {?SDK.NetworkRequest} request |
565 */ | 565 */ |
566 _highlightInitiatorChain(request) { | 566 _highlightInitiatorChain(request) { |
567 if (this._requestWithHighlightedInitiators === request) | 567 if (this._requestWithHighlightedInitiators === request) |
568 return; | 568 return; |
569 this._requestWithHighlightedInitiators = request; | 569 this._requestWithHighlightedInitiators = request; |
(...skipping 1135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1705 Running: 'running', | 1705 Running: 'running', |
1706 FromCache: 'from-cache' | 1706 FromCache: 'from-cache' |
1707 }; | 1707 }; |
1708 | 1708 |
1709 /** @type {!Array<string>} */ | 1709 /** @type {!Array<string>} */ |
1710 Network.NetworkLogView._searchKeys = | 1710 Network.NetworkLogView._searchKeys = |
1711 Object.keys(Network.NetworkLogView.FilterType).map(key => Network.NetworkLog
View.FilterType[key]); | 1711 Object.keys(Network.NetworkLogView.FilterType).map(key => Network.NetworkLog
View.FilterType[key]); |
1712 | 1712 |
1713 /** @typedef {function(!SDK.NetworkRequest): boolean} */ | 1713 /** @typedef {function(!SDK.NetworkRequest): boolean} */ |
1714 Network.NetworkLogView.Filter; | 1714 Network.NetworkLogView.Filter; |
OLD | NEW |