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 17 matching lines...) Expand all Loading... |
28 */ | 28 */ |
29 | 29 |
30 /** | 30 /** |
31 * @extends {WebInspector.SourceFrame} | 31 * @extends {WebInspector.SourceFrame} |
32 * @constructor | 32 * @constructor |
33 * @param {!WebInspector.ContentProvider} resource | 33 * @param {!WebInspector.ContentProvider} resource |
34 */ | 34 */ |
35 WebInspector.ResourceSourceFrame = function(resource) | 35 WebInspector.ResourceSourceFrame = function(resource) |
36 { | 36 { |
37 this._resource = resource; | 37 this._resource = resource; |
38 this._messages = []; | |
39 WebInspector.SourceFrame.call(this, resource); | 38 WebInspector.SourceFrame.call(this, resource); |
40 } | 39 } |
41 | 40 |
42 WebInspector.ResourceSourceFrame.prototype = { | 41 WebInspector.ResourceSourceFrame.prototype = { |
43 get resource() | 42 get resource() |
44 { | 43 { |
45 return this._resource; | 44 return this._resource; |
46 }, | 45 }, |
47 | 46 |
48 populateTextAreaContextMenu: function(contextMenu, lineNumber, columnNumber) | 47 populateTextAreaContextMenu: function(contextMenu, lineNumber, columnNumber) |
(...skipping 29 matching lines...) Expand all Loading... |
78 /** | 77 /** |
79 * @param {?string} content | 78 * @param {?string} content |
80 */ | 79 */ |
81 _contentLoaded: function(content) | 80 _contentLoaded: function(content) |
82 { | 81 { |
83 this._content.textContent = content; | 82 this._content.textContent = content; |
84 }, | 83 }, |
85 | 84 |
86 __proto__: WebInspector.VBox.prototype | 85 __proto__: WebInspector.VBox.prototype |
87 } | 86 } |
OLD | NEW |