OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2013 Google Inc. All rights reserved. | 2 * Copyright (C) 2013 Google Inc. All rights reserved. |
3 * Copyright (C) 2012 Intel Inc. All rights reserved. | 3 * Copyright (C) 2012 Intel Inc. All rights reserved. |
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 are | 6 * modification, are permitted provided that the following conditions are |
7 * met: | 7 * met: |
8 * | 8 * |
9 * * Redistributions of source code must retain the above copyright | 9 * * 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 328 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
339 * @return {!Array.<!WebInspector.TimelinePresentationModel.Record>} | 339 * @return {!Array.<!WebInspector.TimelinePresentationModel.Record>} |
340 */ | 340 */ |
341 presentationChildren: function() | 341 presentationChildren: function() |
342 { | 342 { |
343 return this._presentationChildren; | 343 return this._presentationChildren; |
344 }, | 344 }, |
345 | 345 |
346 /** | 346 /** |
347 * @return {boolean} | 347 * @return {boolean} |
348 */ | 348 */ |
349 hasPresentationChildren: function() | |
350 { | |
351 return !!this._presentationChildren.length; | |
352 }, | |
353 | |
354 /** | |
355 * @return {boolean} | |
356 */ | |
357 coalesced: function() | 349 coalesced: function() |
358 { | 350 { |
359 return this._coalesced; | 351 return this._coalesced; |
360 }, | 352 }, |
361 | 353 |
362 /** | 354 /** |
363 * @return {boolean} | 355 * @return {boolean} |
364 */ | 356 */ |
365 collapsed: function() | 357 collapsed: function() |
366 { | 358 { |
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
441 }, | 433 }, |
442 | 434 |
443 /** | 435 /** |
444 * @param {!WebInspector.TimelineRecordGraphRow} graphRow | 436 * @param {!WebInspector.TimelineRecordGraphRow} graphRow |
445 */ | 437 */ |
446 setGraphRow: function(graphRow) | 438 setGraphRow: function(graphRow) |
447 { | 439 { |
448 this._graphRow = graphRow; | 440 this._graphRow = graphRow; |
449 } | 441 } |
450 } | 442 } |
OLD | NEW |