| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2013 Google Inc. All rights reserved. | 2 * Copyright (C) 2013 Google Inc. All rights reserved. |
| 3 * Copyright (C) 2012 Intel Inc. All rights reserved. | 3 * Copyright (C) 2012 Intel Inc. All rights reserved. |
| 4 * | 4 * |
| 5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
| 6 * modification, are permitted provided that the following conditions are | 6 * modification, are permitted provided that the following conditions are |
| 7 * met: | 7 * met: |
| 8 * | 8 * |
| 9 * * Redistributions of source code must retain the above copyright | 9 * * Redistributions of source code must retain the above copyright |
| 10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
| (...skipping 1569 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1580 WebInspector.TimelineUIUtils.eventDispatchDesciptors = function() | 1580 WebInspector.TimelineUIUtils.eventDispatchDesciptors = function() |
| 1581 { | 1581 { |
| 1582 if (WebInspector.TimelineUIUtils._eventDispatchDesciptors) | 1582 if (WebInspector.TimelineUIUtils._eventDispatchDesciptors) |
| 1583 return WebInspector.TimelineUIUtils._eventDispatchDesciptors; | 1583 return WebInspector.TimelineUIUtils._eventDispatchDesciptors; |
| 1584 var lightOrange = "hsl(40,100%,80%)"; | 1584 var lightOrange = "hsl(40,100%,80%)"; |
| 1585 var orange = "hsl(40,100%,50%)"; | 1585 var orange = "hsl(40,100%,50%)"; |
| 1586 var green = "hsl(90,100%,40%)"; | 1586 var green = "hsl(90,100%,40%)"; |
| 1587 var purple = "hsl(256,100%,75%)"; | 1587 var purple = "hsl(256,100%,75%)"; |
| 1588 WebInspector.TimelineUIUtils._eventDispatchDesciptors = [ | 1588 WebInspector.TimelineUIUtils._eventDispatchDesciptors = [ |
| 1589 new WebInspector.TimelineUIUtils.EventDispatchTypeDescriptor(1, lightOra
nge, ["mousemove", "mouseenter", "mouseleave", "mouseout", "mouseover"]), | 1589 new WebInspector.TimelineUIUtils.EventDispatchTypeDescriptor(1, lightOra
nge, ["mousemove", "mouseenter", "mouseleave", "mouseout", "mouseover"]), |
| 1590 new WebInspector.TimelineUIUtils.EventDispatchTypeDescriptor(1, lightOra
nge, ["pointerover", "pointerout", "pointerenter", "pointerleave", "pointermove"
]), |
| 1590 new WebInspector.TimelineUIUtils.EventDispatchTypeDescriptor(2, green, [
"wheel"]), | 1591 new WebInspector.TimelineUIUtils.EventDispatchTypeDescriptor(2, green, [
"wheel"]), |
| 1591 new WebInspector.TimelineUIUtils.EventDispatchTypeDescriptor(3, orange,
["click", "mousedown", "mouseup"]), | 1592 new WebInspector.TimelineUIUtils.EventDispatchTypeDescriptor(3, orange,
["click", "mousedown", "mouseup"]), |
| 1592 new WebInspector.TimelineUIUtils.EventDispatchTypeDescriptor(3, orange,
["touchstart", "touchend", "touchmove", "touchcancel"]), | 1593 new WebInspector.TimelineUIUtils.EventDispatchTypeDescriptor(3, orange,
["touchstart", "touchend", "touchmove", "touchcancel"]), |
| 1594 new WebInspector.TimelineUIUtils.EventDispatchTypeDescriptor(3, orange,
["pointerdown", "pointerup", "pointercancel", "gotpointercapture", "lostpointerc
apture"]), |
| 1593 new WebInspector.TimelineUIUtils.EventDispatchTypeDescriptor(3, purple,
["keydown", "keyup", "keypress"]) | 1595 new WebInspector.TimelineUIUtils.EventDispatchTypeDescriptor(3, purple,
["keydown", "keyup", "keypress"]) |
| 1594 ]; | 1596 ]; |
| 1595 return WebInspector.TimelineUIUtils._eventDispatchDesciptors; | 1597 return WebInspector.TimelineUIUtils._eventDispatchDesciptors; |
| 1596 } | 1598 } |
| 1597 | 1599 |
| 1598 /** | 1600 /** |
| 1599 * @constructor | 1601 * @constructor |
| 1600 * @extends {WebInspector.Object} | 1602 * @extends {WebInspector.Object} |
| 1601 * @param {string} name | 1603 * @param {string} name |
| 1602 * @param {string} title | 1604 * @param {string} title |
| (...skipping 288 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1891 return; | 1893 return; |
| 1892 | 1894 |
| 1893 var stackTraceElement = parentElement.createChild("div", "timeline-detai
ls-view-row-value timeline-details-view-row-stack-trace monospace"); | 1895 var stackTraceElement = parentElement.createChild("div", "timeline-detai
ls-view-row-value timeline-details-view-row-stack-trace monospace"); |
| 1894 | 1896 |
| 1895 var callFrameElem = WebInspector.DOMPresentationUtils.buildStackTracePre
viewContents(this._target, this._linkifier, stackTrace); | 1897 var callFrameElem = WebInspector.DOMPresentationUtils.buildStackTracePre
viewContents(this._target, this._linkifier, stackTrace); |
| 1896 | 1898 |
| 1897 stackTraceElement.appendChild(callFrameElem); | 1899 stackTraceElement.appendChild(callFrameElem); |
| 1898 } | 1900 } |
| 1899 | 1901 |
| 1900 } | 1902 } |
| OLD | NEW |