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 135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
146 this._filterSelect.setVisible(false); | 146 this._filterSelect.setVisible(false); |
147 this._updateFilterOptions(); | 147 this._updateFilterOptions(); |
148 | 148 |
149 this._classNameFilter = new UI.ToolbarInput('Class filter'); | 149 this._classNameFilter = new UI.ToolbarInput('Class filter'); |
150 this._classNameFilter.setVisible(false); | 150 this._classNameFilter.setVisible(false); |
151 this._constructorsDataGrid.setNameFilter(this._classNameFilter); | 151 this._constructorsDataGrid.setNameFilter(this._classNameFilter); |
152 this._diffDataGrid.setNameFilter(this._classNameFilter); | 152 this._diffDataGrid.setNameFilter(this._classNameFilter); |
153 | 153 |
154 this._selectedSizeText = new UI.ToolbarText(); | 154 this._selectedSizeText = new UI.ToolbarText(); |
155 | 155 |
156 this._popoverHelper = new Components.ObjectPopoverHelper( | 156 this._popoverHelper = new ObjectUI.ObjectPopoverHelper( |
157 this.element, this._getHoverAnchor.bind(this), this._resolveObjectForPop
over.bind(this), undefined, true); | 157 this.element, this._getHoverAnchor.bind(this), this._resolveObjectForPop
over.bind(this), undefined, true); |
158 | 158 |
159 this._currentPerspectiveIndex = 0; | 159 this._currentPerspectiveIndex = 0; |
160 this._currentPerspective = this._perspectives[0]; | 160 this._currentPerspective = this._perspectives[0]; |
161 this._currentPerspective.activate(this); | 161 this._currentPerspective.activate(this); |
162 this._dataGrid = this._currentPerspective.masterGrid(this); | 162 this._dataGrid = this._currentPerspective.masterGrid(this); |
163 | 163 |
164 this._populate(); | 164 this._populate(); |
165 this._searchThrottler = new Common.Throttler(0); | 165 this._searchThrottler = new Common.Throttler(0); |
166 } | 166 } |
(...skipping 1923 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2090 var name = frameDiv.createChild('div'); | 2090 var name = frameDiv.createChild('div'); |
2091 name.textContent = UI.beautifyFunctionName(frame.functionName); | 2091 name.textContent = UI.beautifyFunctionName(frame.functionName); |
2092 if (frame.scriptId) { | 2092 if (frame.scriptId) { |
2093 var urlElement = this._linkifier.linkifyScriptLocation( | 2093 var urlElement = this._linkifier.linkifyScriptLocation( |
2094 this._target, String(frame.scriptId), frame.scriptName, frame.line -
1, frame.column - 1); | 2094 this._target, String(frame.scriptId), frame.scriptName, frame.line -
1, frame.column - 1); |
2095 frameDiv.appendChild(urlElement); | 2095 frameDiv.appendChild(urlElement); |
2096 } | 2096 } |
2097 } | 2097 } |
2098 } | 2098 } |
2099 }; | 2099 }; |
OLD | NEW |