| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2011 Google Inc. All rights reserved. | 2 * Copyright (C) 2011 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 625 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 636 }, | 636 }, |
| 637 | 637 |
| 638 _removeBreakpointDecoration: function(lineNumber) | 638 _removeBreakpointDecoration: function(lineNumber) |
| 639 { | 639 { |
| 640 this.textEditor.removeAttribute(lineNumber, "breakpoint"); | 640 this.textEditor.removeAttribute(lineNumber, "breakpoint"); |
| 641 this.textEditor.removeBreakpoint(lineNumber); | 641 this.textEditor.removeBreakpoint(lineNumber); |
| 642 }, | 642 }, |
| 643 | 643 |
| 644 _onKeyDown: function(event) | 644 _onKeyDown: function(event) |
| 645 { | 645 { |
| 646 if (event.keyIdentifier === "U+001B") { // Escape key | 646 if (event.key === "Escape") { |
| 647 if (this._popoverHelper.isPopoverVisible()) { | 647 if (this._popoverHelper.isPopoverVisible()) { |
| 648 this._popoverHelper.hidePopover(); | 648 this._popoverHelper.hidePopover(); |
| 649 event.consume(); | 649 event.consume(); |
| 650 } | 650 } |
| 651 } | 651 } |
| 652 }, | 652 }, |
| 653 | 653 |
| 654 /** | 654 /** |
| 655 * @param {number} lineNumber | 655 * @param {number} lineNumber |
| 656 * @param {!WebInspector.BreakpointManager.Breakpoint=} breakpoint | 656 * @param {!WebInspector.BreakpointManager.Breakpoint=} breakpoint |
| (...skipping 472 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1129 this.uiSourceCode().removeEventListener(WebInspector.UISourceCode.Events
.WorkingCopyChanged, this._workingCopyChanged, this); | 1129 this.uiSourceCode().removeEventListener(WebInspector.UISourceCode.Events
.WorkingCopyChanged, this._workingCopyChanged, this); |
| 1130 this.uiSourceCode().removeEventListener(WebInspector.UISourceCode.Events
.WorkingCopyCommitted, this._workingCopyCommitted, this); | 1130 this.uiSourceCode().removeEventListener(WebInspector.UISourceCode.Events
.WorkingCopyCommitted, this._workingCopyCommitted, this); |
| 1131 this.uiSourceCode().removeEventListener(WebInspector.UISourceCode.Events
.TitleChanged, this._showBlackboxInfobarIfNeeded, this); | 1131 this.uiSourceCode().removeEventListener(WebInspector.UISourceCode.Events
.TitleChanged, this._showBlackboxInfobarIfNeeded, this); |
| 1132 WebInspector.moduleSetting("skipStackFramesPattern").removeChangeListene
r(this._showBlackboxInfobarIfNeeded, this); | 1132 WebInspector.moduleSetting("skipStackFramesPattern").removeChangeListene
r(this._showBlackboxInfobarIfNeeded, this); |
| 1133 WebInspector.moduleSetting("skipContentScripts").removeChangeListener(th
is._showBlackboxInfobarIfNeeded, this); | 1133 WebInspector.moduleSetting("skipContentScripts").removeChangeListener(th
is._showBlackboxInfobarIfNeeded, this); |
| 1134 WebInspector.UISourceCodeFrame.prototype.dispose.call(this); | 1134 WebInspector.UISourceCodeFrame.prototype.dispose.call(this); |
| 1135 }, | 1135 }, |
| 1136 | 1136 |
| 1137 __proto__: WebInspector.UISourceCodeFrame.prototype | 1137 __proto__: WebInspector.UISourceCodeFrame.prototype |
| 1138 } | 1138 } |
| OLD | NEW |