| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2007, 2008 Apple Inc. All rights reserved. | 2 * Copyright (C) 2007, 2008 Apple Inc. All rights reserved. |
| 3 * Copyright (C) IBM Corp. 2009 All rights reserved. | 3 * Copyright (C) IBM Corp. 2009 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 | 6 * modification, are permitted provided that the following conditions |
| 7 * are met: | 7 * are met: |
| 8 * | 8 * |
| 9 * 1. Redistributions of source code must retain the above copyright | 9 * 1. 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 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 57 { | 57 { |
| 58 for (var message of this._messages) | 58 for (var message of this._messages) |
| 59 this.addMessageToSource(WebInspector.SourceFrameMessage.fromConsoleM
essage(message, message.line - 1, message.column)); | 59 this.addMessageToSource(WebInspector.SourceFrameMessage.fromConsoleM
essage(message, message.line - 1, message.column)); |
| 60 }, | 60 }, |
| 61 | 61 |
| 62 get resource() | 62 get resource() |
| 63 { | 63 { |
| 64 return this._resource; | 64 return this._resource; |
| 65 }, | 65 }, |
| 66 | 66 |
| 67 populateTextAreaContextMenu: function(contextMenu, lineNumber) | 67 populateTextAreaContextMenu: function(contextMenu, lineNumber, columnNumber) |
| 68 { | 68 { |
| 69 contextMenu.appendApplicableItems(this._resource); | 69 contextMenu.appendApplicableItems(this._resource); |
| 70 }, | 70 }, |
| 71 | 71 |
| 72 __proto__: WebInspector.SourceFrame.prototype | 72 __proto__: WebInspector.SourceFrame.prototype |
| 73 } | 73 } |
| 74 | 74 |
| 75 /** | 75 /** |
| 76 * @constructor | 76 * @constructor |
| 77 * @extends {WebInspector.VBox} | 77 * @extends {WebInspector.VBox} |
| (...skipping 19 matching lines...) Expand all Loading... |
| 97 /** | 97 /** |
| 98 * @param {?string} content | 98 * @param {?string} content |
| 99 */ | 99 */ |
| 100 _contentLoaded: function(content) | 100 _contentLoaded: function(content) |
| 101 { | 101 { |
| 102 this._content.textContent = content; | 102 this._content.textContent = content; |
| 103 }, | 103 }, |
| 104 | 104 |
| 105 __proto__: WebInspector.VBox.prototype | 105 __proto__: WebInspector.VBox.prototype |
| 106 } | 106 } |
| OLD | NEW |