| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2011 Google Inc. All rights reserved. | 2 * Copyright (C) 2011 Google Inc. All rights reserved. |
| 3 * Copyright (C) 2007, 2008 Apple Inc. All rights reserved. | 3 * Copyright (C) 2007, 2008 Apple Inc. All rights reserved. |
| 4 * Copyright (C) 2009 Joseph Pecoraro | 4 * Copyright (C) 2009 Joseph Pecoraro |
| 5 * | 5 * |
| 6 * Redistribution and use in source and binary forms, with or without | 6 * Redistribution and use in source and binary forms, with or without |
| 7 * modification, are permitted provided that the following conditions | 7 * modification, are permitted provided that the following conditions |
| 8 * are met: | 8 * are met: |
| 9 * | 9 * |
| 10 * 1. Redistributions of source code must retain the above copyright | 10 * 1. Redistributions of source code must retain the above copyright |
| (...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 75 { | 75 { |
| 76 return this._request; | 76 return this._request; |
| 77 }, | 77 }, |
| 78 | 78 |
| 79 wasShown: function() | 79 wasShown: function() |
| 80 { | 80 { |
| 81 for (var i = 0; this._dataGrids && i < this._dataGrids.length; ++i) { | 81 for (var i = 0; this._dataGrids && i < this._dataGrids.length; ++i) { |
| 82 var dataGrid = this._dataGrids[i]; | 82 var dataGrid = this._dataGrids[i]; |
| 83 var parentElement = this._dataGridParents.get(dataGrid) || null; | 83 var parentElement = this._dataGridParents.get(dataGrid) || null; |
| 84 dataGrid.show(parentElement); | 84 dataGrid.show(parentElement); |
| 85 dataGrid.updateWidths(); |
| 85 } | 86 } |
| 86 }, | 87 }, |
| 87 | 88 |
| 88 willHide: function() | 89 willHide: function() |
| 89 { | 90 { |
| 90 for (var i = 0; this._dataGrids && i < this._dataGrids.length; ++i) { | 91 for (var i = 0; this._dataGrids && i < this._dataGrids.length; ++i) { |
| 91 var dataGrid = this._dataGrids[i]; | 92 var dataGrid = this._dataGrids[i]; |
| 92 this._dataGridParents.put(dataGrid, dataGrid.element.parentElement); | 93 this._dataGridParents.put(dataGrid, dataGrid.element.parentElement); |
| 93 dataGrid.detach(); | 94 dataGrid.detach(); |
| 94 } | 95 } |
| (...skipping 938 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1033 /** | 1034 /** |
| 1034 * @return {WebInspector.ConsoleMessage} | 1035 * @return {WebInspector.ConsoleMessage} |
| 1035 */ | 1036 */ |
| 1036 clone: function() | 1037 clone: function() |
| 1037 { | 1038 { |
| 1038 return WebInspector.ConsoleMessage.create(this.source, this.level, this.
_messageText, this.type, this.url, this.line, this.column, this.repeatCount, thi
s._parameters, this._stackTrace, this._request ? this._request.requestId : undef
ined, this._isOutdated); | 1039 return WebInspector.ConsoleMessage.create(this.source, this.level, this.
_messageText, this.type, this.url, this.line, this.column, this.repeatCount, thi
s._parameters, this._stackTrace, this._request ? this._request.requestId : undef
ined, this._isOutdated); |
| 1039 }, | 1040 }, |
| 1040 | 1041 |
| 1041 __proto__: WebInspector.ConsoleMessage.prototype | 1042 __proto__: WebInspector.ConsoleMessage.prototype |
| 1042 } | 1043 } |
| OLD | NEW |