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

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

Issue 2157283002: DevTools: remove WI.SourcesView._currentUISourceCode (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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
« no previous file with comments | « third_party/WebKit/Source/devtools/front_end/sources/SourcesView.js ('k') | no next file » | 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) 2011 Google Inc. All rights reserved. 2 * Copyright (C) 2011 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 497 matching lines...) Expand 10 before | Expand all | Expand 10 after
508 508
509 /** 509 /**
510 * @return {string} 510 * @return {string}
511 */ 511 */
512 _generateTabId: function() 512 _generateTabId: function()
513 { 513 {
514 return "tab_" + (WebInspector.TabbedEditorContainer._tabId++); 514 return "tab_" + (WebInspector.TabbedEditorContainer._tabId++);
515 }, 515 },
516 516
517 /** 517 /**
518 * @return {!WebInspector.UISourceCode} uiSourceCode 518 * @return {?WebInspector.UISourceCode} uiSourceCode
519 */ 519 */
520 currentFile: function() 520 currentFile: function()
521 { 521 {
522 return this._currentFile; 522 return this._currentFile || null;
523 }, 523 },
524 524
525 __proto__: WebInspector.Object.prototype 525 __proto__: WebInspector.Object.prototype
526 } 526 }
527 527
528 /** 528 /**
529 * @constructor 529 * @constructor
530 * @param {string} url 530 * @param {string} url
531 * @param {!WebInspector.TextRange=} selectionRange 531 * @param {!WebInspector.TextRange=} selectionRange
532 * @param {number=} scrollLineNumber 532 * @param {number=} scrollLineNumber
(...skipping 213 matching lines...) Expand 10 before | Expand all | Expand 10 after
746 /** 746 /**
747 * @override 747 * @override
748 * @param {string} tabId 748 * @param {string} tabId
749 * @param {!WebInspector.ContextMenu} contextMenu 749 * @param {!WebInspector.ContextMenu} contextMenu
750 */ 750 */
751 onContextMenu: function(tabId, contextMenu) 751 onContextMenu: function(tabId, contextMenu)
752 { 752 {
753 this._editorContainer._onContextMenu(tabId, contextMenu); 753 this._editorContainer._onContextMenu(tabId, contextMenu);
754 } 754 }
755 } 755 }
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/devtools/front_end/sources/SourcesView.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698