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

Side by Side Diff: Source/devtools/front_end/timeline/TimelineUIUtils.js

Issue 1183513002: Added PE entries for devtools. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 6 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 | « Source/devtools/front_end/sources/EventListenerBreakpointsSidebarPane.js ('k') | no next file » | 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) 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
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
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 }
OLDNEW
« no previous file with comments | « Source/devtools/front_end/sources/EventListenerBreakpointsSidebarPane.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698