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

Side by Side Diff: third_party/WebKit/Source/devtools/front_end/sources/NavigatorView.js

Issue 2567573002: DevTools: fix private field usage violation discovered after the compiler roll. (Closed)
Patch Set: Created 4 years 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2012 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 * 1. Redistributions of source code must retain the above copyright 8 * 1. 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 * 10 *
(...skipping 272 matching lines...) Expand 10 before | Expand all | Expand 10 after
283 this.uiSourceCodeAdded(uiSourceCode); 283 this.uiSourceCodeAdded(uiSourceCode);
284 } 284 }
285 285
286 /** 286 /**
287 * @param {!Workspace.UISourceCode} uiSourceCode 287 * @param {!Workspace.UISourceCode} uiSourceCode
288 */ 288 */
289 uiSourceCodeAdded(uiSourceCode) { 289 uiSourceCodeAdded(uiSourceCode) {
290 } 290 }
291 291
292 /** 292 /**
293 * @return {!Array<!Sources.NavigatorUISourceCodeTreeNode>}
294 */
295 uiSourceCodeNodes() {
296 return this._uiSourceCodeNodes.valuesArray();
297 }
298
299 /**
293 * @param {!Common.Event} event 300 * @param {!Common.Event} event
294 */ 301 */
295 _uiSourceCodeAdded(event) { 302 _uiSourceCodeAdded(event) {
296 var uiSourceCode = /** @type {!Workspace.UISourceCode} */ (event.data); 303 var uiSourceCode = /** @type {!Workspace.UISourceCode} */ (event.data);
297 this._addUISourceCode(uiSourceCode); 304 this._addUISourceCode(uiSourceCode);
298 } 305 }
299 306
300 /** 307 /**
301 * @param {!Common.Event} event 308 * @param {!Common.Event} event
302 */ 309 */
(...skipping 1291 matching lines...) Expand 10 before | Expand all | Expand 10 after
1594 /** 1601 /**
1595 * @param {string} title 1602 * @param {string} title
1596 * @override 1603 * @override
1597 */ 1604 */
1598 setTitle(title) { 1605 setTitle(title) {
1599 this._title = title; 1606 this._title = title;
1600 if (this._treeElement) 1607 if (this._treeElement)
1601 this._treeElement.title = this._title; 1608 this._treeElement.title = this._title;
1602 } 1609 }
1603 }; 1610 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698