| 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 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 68 TitleChanged: Symbol("TitleChanged"), | 68 TitleChanged: Symbol("TitleChanged"), |
| 69 SourceMappingChanged: Symbol("SourceMappingChanged"), | 69 SourceMappingChanged: Symbol("SourceMappingChanged"), |
| 70 MessageAdded: Symbol("MessageAdded"), | 70 MessageAdded: Symbol("MessageAdded"), |
| 71 MessageRemoved: Symbol("MessageRemoved"), | 71 MessageRemoved: Symbol("MessageRemoved"), |
| 72 LineDecorationAdded: Symbol("LineDecorationAdded"), | 72 LineDecorationAdded: Symbol("LineDecorationAdded"), |
| 73 LineDecorationRemoved: Symbol("LineDecorationRemoved") | 73 LineDecorationRemoved: Symbol("LineDecorationRemoved") |
| 74 } | 74 } |
| 75 | 75 |
| 76 WebInspector.UISourceCode.prototype = { | 76 WebInspector.UISourceCode.prototype = { |
| 77 /** | 77 /** |
| 78 * @return {!Promise<?WebInspector.UISourceCodeMetadata>} |
| 79 */ |
| 80 requestMetadata: function() |
| 81 { |
| 82 return this._project.requestMetadata(this); |
| 83 }, |
| 84 |
| 85 /** |
| 78 * @return {string} | 86 * @return {string} |
| 79 */ | 87 */ |
| 80 name: function() | 88 name: function() |
| 81 { | 89 { |
| 82 return this._name; | 90 return this._name; |
| 83 }, | 91 }, |
| 84 | 92 |
| 85 /** | 93 /** |
| 86 * @return {string} | 94 * @return {string} |
| 87 */ | 95 */ |
| (...skipping 868 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 956 }, | 964 }, |
| 957 | 965 |
| 958 /** | 966 /** |
| 959 * @return {*} | 967 * @return {*} |
| 960 */ | 968 */ |
| 961 data: function() | 969 data: function() |
| 962 { | 970 { |
| 963 return this._data; | 971 return this._data; |
| 964 } | 972 } |
| 965 } | 973 } |
| 974 |
| 975 /** |
| 976 * @constructor |
| 977 * @param {?Date} modificationTime |
| 978 * @param {?number} contentSize |
| 979 */ |
| 980 WebInspector.UISourceCodeMetadata = function(modificationTime, contentSize) |
| 981 { |
| 982 this.modificationTime = modificationTime; |
| 983 this.contentSize = contentSize; |
| 984 } |
| OLD | NEW |