| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2012 Google Inc. All rights reserved. | 2 * Copyright (C) 2012 Google Inc. All rights reserved. |
| 3 * Copyright (C) 2012 Intel Inc. All rights reserved. | 3 * Copyright (C) 2012 Intel Inc. 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 are | 6 * modification, are permitted provided that the following conditions are |
| 7 * met: | 7 * met: |
| 8 * | 8 * |
| 9 * * Redistributions of source code must retain the above copyright | 9 * * 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 1128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1139 * @param {!Node} node | 1139 * @param {!Node} node |
| 1140 */ | 1140 */ |
| 1141 setContent: function(title, node) | 1141 setContent: function(title, node) |
| 1142 { | 1142 { |
| 1143 this._titleElement.textContent = WebInspector.UIString("DETAILS: %s", ti
tle); | 1143 this._titleElement.textContent = WebInspector.UIString("DETAILS: %s", ti
tle); |
| 1144 this._clearContent(); | 1144 this._clearContent(); |
| 1145 this._contentElement.appendChild(node); | 1145 this._contentElement.appendChild(node); |
| 1146 }, | 1146 }, |
| 1147 | 1147 |
| 1148 /** | 1148 /** |
| 1149 * @param {string} title |
| 1149 * @param {!WebInspector.View} view | 1150 * @param {!WebInspector.View} view |
| 1150 */ | 1151 */ |
| 1151 setChildView: function(title, view) | 1152 setChildView: function(title, view) |
| 1152 { | 1153 { |
| 1153 this._titleElement.textContent = WebInspector.UIString("DETAILS: %s", ti
tle); | 1154 this._titleElement.textContent = WebInspector.UIString("DETAILS: %s", ti
tle); |
| 1154 if (this._currentChildView === view) | 1155 if (this._currentChildView === view) |
| 1155 return; | 1156 return; |
| 1156 this._clearContent(); | 1157 this._clearContent(); |
| 1157 view.show(this._contentElement); | 1158 view.show(this._contentElement); |
| 1158 this._currentChildView = view; | 1159 this._currentChildView = view; |
| (...skipping 286 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1445 * @param {!WebInspector.TimelineModel.Record} record | 1446 * @param {!WebInspector.TimelineModel.Record} record |
| 1446 * @return {boolean} | 1447 * @return {boolean} |
| 1447 */ | 1448 */ |
| 1448 accept: function(record) | 1449 accept: function(record) |
| 1449 { | 1450 { |
| 1450 return !this._hiddenRecords[record.type()]; | 1451 return !this._hiddenRecords[record.type()]; |
| 1451 }, | 1452 }, |
| 1452 | 1453 |
| 1453 __proto__: WebInspector.TimelineModel.Filter.prototype | 1454 __proto__: WebInspector.TimelineModel.Filter.prototype |
| 1454 } | 1455 } |
| OLD | NEW |