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

Side by Side Diff: Source/devtools/front_end/timeline/TimelinePanel.js

Issue 301163005: DevTools: [JSDoc] Avoid partial arg list annotations in code except "profiler" module (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2012 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 1128 matching lines...) Expand 10 before | Expand all | Expand 10 after
1139 * @param {!Node} node 1139 * @param {!Node} node
1140 */ 1140 */
1141 setContent: function(title, node) 1141 setContent: function(title, node)
1142 { 1142 {
1143 this._titleElement.textContent = WebInspector.UIString("DETAILS: %s", ti tle); 1143 this._titleElement.textContent = WebInspector.UIString("DETAILS: %s", ti tle);
1144 this._clearContent(); 1144 this._clearContent();
1145 this._contentElement.appendChild(node); 1145 this._contentElement.appendChild(node);
1146 }, 1146 },
1147 1147
1148 /** 1148 /**
1149 * @param {string} title
1149 * @param {!WebInspector.View} view 1150 * @param {!WebInspector.View} view
1150 */ 1151 */
1151 setChildView: function(title, view) 1152 setChildView: function(title, view)
1152 { 1153 {
1153 this._titleElement.textContent = WebInspector.UIString("DETAILS: %s", ti tle); 1154 this._titleElement.textContent = WebInspector.UIString("DETAILS: %s", ti tle);
1154 if (this._currentChildView === view) 1155 if (this._currentChildView === view)
1155 return; 1156 return;
1156 this._clearContent(); 1157 this._clearContent();
1157 view.show(this._contentElement); 1158 view.show(this._contentElement);
1158 this._currentChildView = view; 1159 this._currentChildView = view;
(...skipping 286 matching lines...) Expand 10 before | Expand all | Expand 10 after
1445 * @param {!WebInspector.TimelineModel.Record} record 1446 * @param {!WebInspector.TimelineModel.Record} record
1446 * @return {boolean} 1447 * @return {boolean}
1447 */ 1448 */
1448 accept: function(record) 1449 accept: function(record)
1449 { 1450 {
1450 return !this._hiddenRecords[record.type()]; 1451 return !this._hiddenRecords[record.type()];
1451 }, 1452 },
1452 1453
1453 __proto__: WebInspector.TimelineModel.Filter.prototype 1454 __proto__: WebInspector.TimelineModel.Filter.prototype
1454 } 1455 }
OLDNEW
« no previous file with comments | « Source/devtools/front_end/timeline/TimelineModel.js ('k') | Source/devtools/front_end/timeline/TimelineUIUtils.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698