OLD | NEW |
---|---|
1 /* | 1 /* |
2 * Copyright (C) 2013 Google Inc. All rights reserved. | 2 * Copyright (C) 2013 Google Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
6 * met: | 6 * met: |
7 * | 7 * |
8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
(...skipping 501 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
512 callViewElement.appendChild(WebInspector.CanvasProfileDataGridHelper .createCallArgumentElement(call.result)); | 512 callViewElement.appendChild(WebInspector.CanvasProfileDataGridHelper .createCallArgumentElement(call.result)); |
513 } | 513 } |
514 | 514 |
515 var node = new WebInspector.DataGridNode(data); | 515 var node = new WebInspector.DataGridNode(data); |
516 node.index = index; | 516 node.index = index; |
517 node.selectable = true; | 517 node.selectable = true; |
518 node.call = call; | 518 node.call = call; |
519 return node; | 519 return node; |
520 }, | 520 }, |
521 | 521 |
522 _popoverAnchor: function(element, event) | 522 _popoverAnchor: function(element, event) |
vsevik
2014/06/26 13:55:35
Please annotate
eustas
2014/06/26 14:15:58
Done.
| |
523 { | 523 { |
524 var argumentElement = element.enclosingNodeOrSelfWithClass("canvas-call- argument"); | 524 var argumentElement = element.enclosingNodeOrSelfWithClass("canvas-call- argument"); |
525 if (!argumentElement || argumentElement.__suppressPopover) | 525 if (!argumentElement || argumentElement.__suppressPopover) |
526 return null; | 526 return; |
527 return argumentElement; | 527 return argumentElement; |
528 }, | 528 }, |
529 | 529 |
530 _resolveObjectForPopover: function(argumentElement, showCallback, objectGrou pName) | 530 _resolveObjectForPopover: function(argumentElement, showCallback, objectGrou pName) |
531 { | 531 { |
532 /** | 532 /** |
533 * @param {?Protocol.Error} error | 533 * @param {?Protocol.Error} error |
534 * @param {!RuntimeAgent.RemoteObject=} result | 534 * @param {!RuntimeAgent.RemoteObject=} result |
535 * @param {!CanvasAgent.ResourceState=} resourceState | 535 * @param {!CanvasAgent.ResourceState=} resourceState |
536 * @this {WebInspector.CanvasProfileView} | 536 * @this {WebInspector.CanvasProfileView} |
(...skipping 730 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1267 }, | 1267 }, |
1268 | 1268 |
1269 clearResourceStates: function() | 1269 clearResourceStates: function() |
1270 { | 1270 { |
1271 this._currentResourceStates = {}; | 1271 this._currentResourceStates = {}; |
1272 this.dispatchEventToListeners(WebInspector.CanvasTraceLogPlayerProxy.Eve nts.CanvasReplayStateChanged); | 1272 this.dispatchEventToListeners(WebInspector.CanvasTraceLogPlayerProxy.Eve nts.CanvasReplayStateChanged); |
1273 }, | 1273 }, |
1274 | 1274 |
1275 __proto__: WebInspector.Object.prototype | 1275 __proto__: WebInspector.Object.prototype |
1276 } | 1276 } |
OLD | NEW |