Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(956)

Side by Side Diff: Source/devtools/front_end/console/ConsoleView.js

Issue 305813005: DevTools: Fix regression that slows down "Goto Source" dialog (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | Source/devtools/front_end/sources/FilteredItemSelectionDialog.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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 }
OLDNEW
« no previous file with comments | « no previous file | Source/devtools/front_end/sources/FilteredItemSelectionDialog.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698