| 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) 2009 Joseph Pecoraro | 3 * Copyright (C) 2009 Joseph Pecoraro |
| 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 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 153 /** | 153 /** |
| 154 * @param {number} index | 154 * @param {number} index |
| 155 * @return {?WebInspector.ViewportElement} | 155 * @return {?WebInspector.ViewportElement} |
| 156 */ | 156 */ |
| 157 itemElement: function(index) | 157 itemElement: function(index) |
| 158 { | 158 { |
| 159 return this._visibleViewMessages[index]; | 159 return this._visibleViewMessages[index]; |
| 160 }, | 160 }, |
| 161 | 161 |
| 162 /** | 162 /** |
| 163 * @param {number} index |
| 164 * @return {number} |
| 165 */ |
| 166 fastHeight: function(index) |
| 167 { |
| 168 return this._visibleViewMessages[index].fastHeight(); |
| 169 }, |
| 170 |
| 171 /** |
| 163 * @param {!WebInspector.Target} target | 172 * @param {!WebInspector.Target} target |
| 164 */ | 173 */ |
| 165 targetAdded: function(target) | 174 targetAdded: function(target) |
| 166 { | 175 { |
| 167 /** | 176 /** |
| 168 * @param {!WebInspector.ConsoleMessage} message | 177 * @param {!WebInspector.ConsoleMessage} message |
| 169 * @this {WebInspector.ConsoleView} | 178 * @this {WebInspector.ConsoleView} |
| 170 */ | 179 */ |
| 171 function appendMessage(message) | 180 function appendMessage(message) |
| 172 { | 181 { |
| (...skipping 955 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1128 WebInspector.ConsoleView.ShowConsoleActionDelegate.prototype = { | 1137 WebInspector.ConsoleView.ShowConsoleActionDelegate.prototype = { |
| 1129 /** | 1138 /** |
| 1130 * @return {boolean} | 1139 * @return {boolean} |
| 1131 */ | 1140 */ |
| 1132 handleAction: function() | 1141 handleAction: function() |
| 1133 { | 1142 { |
| 1134 WebInspector.console.show(); | 1143 WebInspector.console.show(); |
| 1135 return true; | 1144 return true; |
| 1136 } | 1145 } |
| 1137 } | 1146 } |
| OLD | NEW |