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

Side by Side Diff: Source/devtools/front_end/TimelinePresentationModel.js

Issue 201823003: Timeline: fix expansion arrow appearing on rows with no visible children (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 9 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/TimelineView.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) 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
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
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 }
OLDNEW
« no previous file with comments | « no previous file | Source/devtools/front_end/TimelineView.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698