| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2008 Apple Inc. All Rights Reserved. | 2 * Copyright (C) 2008 Apple 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 | 5 * modification, are permitted provided that the following conditions |
| 6 * are met: | 6 * are met: |
| 7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
| 8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
| 9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
| 10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
| (...skipping 482 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 493 this._breakpointItems = {}; | 493 this._breakpointItems = {}; |
| 494 // FIXME: uncomment following once inspector stops being drop targer in majo
r ports. | 494 // FIXME: uncomment following once inspector stops being drop targer in majo
r ports. |
| 495 // Otherwise, inspector page reacts on drop event and tries to load the even
t data. | 495 // Otherwise, inspector page reacts on drop event and tries to load the even
t data. |
| 496 // this._createCategory(WebInspector.UIString("Drag"), true, ["drag", "drop"
, "dragstart", "dragend", "dragenter", "dragleave", "dragover"]); | 496 // this._createCategory(WebInspector.UIString("Drag"), true, ["drag", "drop"
, "dragstart", "dragend", "dragenter", "dragleave", "dragover"]); |
| 497 this._createCategory(WebInspector.UIString("Animation"), false, ["requestAni
mationFrame", "cancelAnimationFrame", "animationFrameFired"]); | 497 this._createCategory(WebInspector.UIString("Animation"), false, ["requestAni
mationFrame", "cancelAnimationFrame", "animationFrameFired"]); |
| 498 this._createCategory(WebInspector.UIString("Control"), true, ["resize", "scr
oll", "zoom", "focus", "blur", "select", "change", "submit", "reset"]); | 498 this._createCategory(WebInspector.UIString("Control"), true, ["resize", "scr
oll", "zoom", "focus", "blur", "select", "change", "submit", "reset"]); |
| 499 this._createCategory(WebInspector.UIString("Clipboard"), true, ["copy", "cut
", "paste", "beforecopy", "beforecut", "beforepaste"]); | 499 this._createCategory(WebInspector.UIString("Clipboard"), true, ["copy", "cut
", "paste", "beforecopy", "beforecut", "beforepaste"]); |
| 500 this._createCategory(WebInspector.UIString("DOM Mutation"), true, ["DOMActiv
ate", "DOMFocusIn", "DOMFocusOut", "DOMAttrModified", "DOMCharacterDataModified"
, "DOMNodeInserted", "DOMNodeInsertedIntoDocument", "DOMNodeRemoved", "DOMNodeRe
movedFromDocument", "DOMSubtreeModified", "DOMContentLoaded"]); | 500 this._createCategory(WebInspector.UIString("DOM Mutation"), true, ["DOMActiv
ate", "DOMFocusIn", "DOMFocusOut", "DOMAttrModified", "DOMCharacterDataModified"
, "DOMNodeInserted", "DOMNodeInsertedIntoDocument", "DOMNodeRemoved", "DOMNodeRe
movedFromDocument", "DOMSubtreeModified", "DOMContentLoaded"]); |
| 501 this._createCategory(WebInspector.UIString("Device"), true, ["deviceorientat
ion", "devicemotion"]); | 501 this._createCategory(WebInspector.UIString("Device"), true, ["deviceorientat
ion", "devicemotion"]); |
| 502 this._createCategory(WebInspector.UIString("Keyboard"), true, ["keydown", "k
eyup", "keypress", "input"]); | 502 this._createCategory(WebInspector.UIString("Keyboard"), true, ["keydown", "k
eyup", "keypress", "input"]); |
| 503 this._createCategory(WebInspector.UIString("Load"), true, ["load", "beforeun
load", "unload", "abort", "error", "hashchange"]); | 503 this._createCategory(WebInspector.UIString("Load"), true, ["load", "beforeun
load", "unload", "abort", "error", "hashchange", "popstate"]); |
| 504 this._createCategory(WebInspector.UIString("Mouse"), true, ["click", "dblcli
ck", "mousedown", "mouseup", "mouseover", "mousemove", "mouseout", "mousewheel"]
); | 504 this._createCategory(WebInspector.UIString("Mouse"), true, ["click", "dblcli
ck", "mousedown", "mouseup", "mouseover", "mousemove", "mouseout", "mousewheel"]
); |
| 505 this._createCategory(WebInspector.UIString("Timer"), false, ["setTimer", "cl
earTimer", "timerFired"]); | 505 this._createCategory(WebInspector.UIString("Timer"), false, ["setTimer", "cl
earTimer", "timerFired"]); |
| 506 this._createCategory(WebInspector.UIString("Touch"), true, ["touchstart", "t
ouchmove", "touchend", "touchcancel"]); | 506 this._createCategory(WebInspector.UIString("Touch"), true, ["touchstart", "t
ouchmove", "touchend", "touchcancel"]); |
| 507 this._createCategory(WebInspector.UIString("WebGL"), false, ["webglErrorFire
d", "webglWarningFired"]); | 507 this._createCategory(WebInspector.UIString("WebGL"), false, ["webglErrorFire
d", "webglWarningFired"]); |
| 508 | 508 |
| 509 this._restoreBreakpoints(); | 509 this._restoreBreakpoints(); |
| 510 } | 510 } |
| 511 | 511 |
| 512 WebInspector.EventListenerBreakpointsSidebarPane.categotyListener = "listener:"; | 512 WebInspector.EventListenerBreakpointsSidebarPane.categotyListener = "listener:"; |
| 513 WebInspector.EventListenerBreakpointsSidebarPane.categotyInstrumentation = "inst
rumentation:"; | 513 WebInspector.EventListenerBreakpointsSidebarPane.categotyInstrumentation = "inst
rumentation:"; |
| (...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 684 var breakpoints = WebInspector.settings.eventListenerBreakpoints.get(); | 684 var breakpoints = WebInspector.settings.eventListenerBreakpoints.get(); |
| 685 for (var i = 0; i < breakpoints.length; ++i) { | 685 for (var i = 0; i < breakpoints.length; ++i) { |
| 686 var breakpoint = breakpoints[i]; | 686 var breakpoint = breakpoints[i]; |
| 687 if (breakpoint && typeof breakpoint.eventName === "string") | 687 if (breakpoint && typeof breakpoint.eventName === "string") |
| 688 this._setBreakpoint(breakpoint.eventName); | 688 this._setBreakpoint(breakpoint.eventName); |
| 689 } | 689 } |
| 690 }, | 690 }, |
| 691 | 691 |
| 692 __proto__: WebInspector.SidebarPane.prototype | 692 __proto__: WebInspector.SidebarPane.prototype |
| 693 } | 693 } |
| OLD | NEW |