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 511 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
522 // FIXME: uncomment following once inspector stops being drop targer in majo
r ports. | 522 // FIXME: uncomment following once inspector stops being drop targer in majo
r ports. |
523 // Otherwise, inspector page reacts on drop event and tries to load the even
t data. | 523 // Otherwise, inspector page reacts on drop event and tries to load the even
t data. |
524 // this._createCategory(WebInspector.UIString("Drag"), true, ["drag", "drop"
, "dragstart", "dragend", "dragenter", "dragleave", "dragover"]); | 524 // this._createCategory(WebInspector.UIString("Drag"), true, ["drag", "drop"
, "dragstart", "dragend", "dragenter", "dragleave", "dragover"]); |
525 this._createCategory(WebInspector.UIString("Animation"), false, ["requestAni
mationFrame", "cancelAnimationFrame", "animationFrameFired"]); | 525 this._createCategory(WebInspector.UIString("Animation"), false, ["requestAni
mationFrame", "cancelAnimationFrame", "animationFrameFired"]); |
526 this._createCategory(WebInspector.UIString("Control"), true, ["resize", "scr
oll", "zoom", "focus", "blur", "select", "change", "submit", "reset"]); | 526 this._createCategory(WebInspector.UIString("Control"), true, ["resize", "scr
oll", "zoom", "focus", "blur", "select", "change", "submit", "reset"]); |
527 this._createCategory(WebInspector.UIString("Clipboard"), true, ["copy", "cut
", "paste", "beforecopy", "beforecut", "beforepaste"]); | 527 this._createCategory(WebInspector.UIString("Clipboard"), true, ["copy", "cut
", "paste", "beforecopy", "beforecut", "beforepaste"]); |
528 this._createCategory(WebInspector.UIString("DOM Mutation"), true, ["DOMActiv
ate", "DOMFocusIn", "DOMFocusOut", "DOMAttrModified", "DOMCharacterDataModified"
, "DOMNodeInserted", "DOMNodeInsertedIntoDocument", "DOMNodeRemoved", "DOMNodeRe
movedFromDocument", "DOMSubtreeModified", "DOMContentLoaded"]); | 528 this._createCategory(WebInspector.UIString("DOM Mutation"), true, ["DOMActiv
ate", "DOMFocusIn", "DOMFocusOut", "DOMAttrModified", "DOMCharacterDataModified"
, "DOMNodeInserted", "DOMNodeInsertedIntoDocument", "DOMNodeRemoved", "DOMNodeRe
movedFromDocument", "DOMSubtreeModified", "DOMContentLoaded"]); |
529 this._createCategory(WebInspector.UIString("Device"), true, ["deviceorientat
ion", "devicemotion"]); | 529 this._createCategory(WebInspector.UIString("Device"), true, ["deviceorientat
ion", "devicemotion"]); |
530 this._createCategory(WebInspector.UIString("Keyboard"), true, ["keydown", "k
eyup", "keypress", "input"]); | 530 this._createCategory(WebInspector.UIString("Keyboard"), true, ["keydown", "k
eyup", "keypress", "input"]); |
531 this._createCategory(WebInspector.UIString("Load"), true, ["load", "beforeun
load", "unload", "abort", "error", "hashchange", "popstate"]); | 531 this._createCategory(WebInspector.UIString("Load"), true, ["load", "beforeun
load", "unload", "abort", "error", "hashchange", "popstate"]); |
532 this._createCategory(WebInspector.UIString("Mouse"), true, ["click", "dblcli
ck", "mousedown", "mouseup", "mouseover", "mousemove", "mouseout", "mousewheel"]
); | 532 this._createCategory(WebInspector.UIString("Mouse"), true, ["click", "dblcli
ck", "mousedown", "mouseup", "mouseover", "mousemove", "mouseout", "mousewheel",
"wheel"]); |
533 this._createCategory(WebInspector.UIString("Timer"), false, ["setTimer", "cl
earTimer", "timerFired"]); | 533 this._createCategory(WebInspector.UIString("Timer"), false, ["setTimer", "cl
earTimer", "timerFired"]); |
534 this._createCategory(WebInspector.UIString("Touch"), true, ["touchstart", "t
ouchmove", "touchend", "touchcancel"]); | 534 this._createCategory(WebInspector.UIString("Touch"), true, ["touchstart", "t
ouchmove", "touchend", "touchcancel"]); |
535 this._createCategory(WebInspector.UIString("WebGL"), false, ["webglErrorFire
d", "webglWarningFired"]); | 535 this._createCategory(WebInspector.UIString("WebGL"), false, ["webglErrorFire
d", "webglWarningFired"]); |
536 | 536 |
537 this._restoreBreakpoints(); | 537 this._restoreBreakpoints(); |
538 } | 538 } |
539 | 539 |
540 WebInspector.EventListenerBreakpointsSidebarPane.categotyListener = "listener:"; | 540 WebInspector.EventListenerBreakpointsSidebarPane.categotyListener = "listener:"; |
541 WebInspector.EventListenerBreakpointsSidebarPane.categotyInstrumentation = "inst
rumentation:"; | 541 WebInspector.EventListenerBreakpointsSidebarPane.categotyInstrumentation = "inst
rumentation:"; |
542 | 542 |
(...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
712 var breakpoints = WebInspector.settings.eventListenerBreakpoints.get(); | 712 var breakpoints = WebInspector.settings.eventListenerBreakpoints.get(); |
713 for (var i = 0; i < breakpoints.length; ++i) { | 713 for (var i = 0; i < breakpoints.length; ++i) { |
714 var breakpoint = breakpoints[i]; | 714 var breakpoint = breakpoints[i]; |
715 if (breakpoint && typeof breakpoint.eventName === "string") | 715 if (breakpoint && typeof breakpoint.eventName === "string") |
716 this._setBreakpoint(breakpoint.eventName); | 716 this._setBreakpoint(breakpoint.eventName); |
717 } | 717 } |
718 }, | 718 }, |
719 | 719 |
720 __proto__: WebInspector.SidebarPane.prototype | 720 __proto__: WebInspector.SidebarPane.prototype |
721 } | 721 } |
OLD | NEW |