| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2014 Google Inc. All rights reserved. | 2 * Copyright (C) 2014 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 172 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 183 for (var category in fillStyles) { | 183 for (var category in fillStyles) { |
| 184 if (fillStyles.hasOwnProperty(category)) | 184 if (fillStyles.hasOwnProperty(category)) |
| 185 colorGenerator.setColorPairForID(category, fillStyles[category],
fillStyles[category]); | 185 colorGenerator.setColorPairForID(category, fillStyles[category],
fillStyles[category]); |
| 186 } | 186 } |
| 187 WebInspector.TimelineFlameChart._colorGenerator = colorGenerator; | 187 WebInspector.TimelineFlameChart._colorGenerator = colorGenerator; |
| 188 } | 188 } |
| 189 return WebInspector.TimelineFlameChart._colorGenerator; | 189 return WebInspector.TimelineFlameChart._colorGenerator; |
| 190 } | 190 } |
| 191 | 191 |
| 192 WebInspector.TimelineFlameChart.prototype = { | 192 WebInspector.TimelineFlameChart.prototype = { |
| 193 refreshRecords: function() |
| 194 { |
| 195 }, |
| 196 |
| 193 reset: function() | 197 reset: function() |
| 194 { | 198 { |
| 195 this._dataProvider.reset(); | 199 this._dataProvider.reset(); |
| 196 this._mainView.changeWindow(0, 1); | 200 this._mainView.changeWindow(0, 1); |
| 197 }, | 201 }, |
| 198 | 202 |
| 199 _onRecordingStarted: function() | 203 _onRecordingStarted: function() |
| 200 { | 204 { |
| 201 this._gotFirstRecord = false; | 205 this._gotFirstRecord = false; |
| 202 }, | 206 }, |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 249 /** | 253 /** |
| 250 * @return {?WebInspector.View} | 254 * @return {?WebInspector.View} |
| 251 */ | 255 */ |
| 252 searchableView: function() | 256 searchableView: function() |
| 253 { | 257 { |
| 254 return null; | 258 return null; |
| 255 }, | 259 }, |
| 256 | 260 |
| 257 __proto__: WebInspector.View.prototype | 261 __proto__: WebInspector.View.prototype |
| 258 } | 262 } |
| OLD | NEW |