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

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

Issue 2263073003: DevTools: Prepare CodeMirrorTextEditor for split into SourcesTextEditor (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Nits Created 4 years, 3 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/source_frame/SourceFrame.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 * * Redistributions of source code must retain the above copyright 8 * * 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 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after
210 WebInspector.UISourceCodeFrame.prototype.willHide.call(this); 210 WebInspector.UISourceCodeFrame.prototype.willHide.call(this);
211 this._popoverHelper.hidePopover(); 211 this._popoverHelper.hidePopover();
212 }, 212 },
213 213
214 onUISourceCodeContentChanged: function() 214 onUISourceCodeContentChanged: function()
215 { 215 {
216 this._removeAllBreakpoints(); 216 this._removeAllBreakpoints();
217 WebInspector.UISourceCodeFrame.prototype.onUISourceCodeContentChanged.ca ll(this); 217 WebInspector.UISourceCodeFrame.prototype.onUISourceCodeContentChanged.ca ll(this);
218 }, 218 },
219 219
220 /**
221 * @override
222 */
220 onTextChanged: function(oldRange, newRange) 223 onTextChanged: function(oldRange, newRange)
221 { 224 {
222 this._scriptsPanel.updateLastModificationTime(); 225 this._scriptsPanel.updateLastModificationTime();
223 WebInspector.UISourceCodeFrame.prototype.onTextChanged.call(this, oldRan ge, newRange); 226 WebInspector.UISourceCodeFrame.prototype.onTextChanged.call(this, oldRan ge, newRange);
224 if (this._compiler) 227 if (this._compiler)
225 this._compiler.scheduleCompile(); 228 this._compiler.scheduleCompile();
226 }, 229 },
227 230
228 /** 231 /**
229 * @override 232 * @override
(...skipping 836 matching lines...) Expand 10 before | Expand all | Expand 10 after
1066 this.uiSourceCode().removeEventListener(WebInspector.UISourceCode.Events .WorkingCopyChanged, this._workingCopyChanged, this); 1069 this.uiSourceCode().removeEventListener(WebInspector.UISourceCode.Events .WorkingCopyChanged, this._workingCopyChanged, this);
1067 this.uiSourceCode().removeEventListener(WebInspector.UISourceCode.Events .WorkingCopyCommitted, this._workingCopyCommitted, this); 1070 this.uiSourceCode().removeEventListener(WebInspector.UISourceCode.Events .WorkingCopyCommitted, this._workingCopyCommitted, this);
1068 this.uiSourceCode().removeEventListener(WebInspector.UISourceCode.Events .TitleChanged, this._showBlackboxInfobarIfNeeded, this); 1071 this.uiSourceCode().removeEventListener(WebInspector.UISourceCode.Events .TitleChanged, this._showBlackboxInfobarIfNeeded, this);
1069 WebInspector.moduleSetting("skipStackFramesPattern").removeChangeListene r(this._showBlackboxInfobarIfNeeded, this); 1072 WebInspector.moduleSetting("skipStackFramesPattern").removeChangeListene r(this._showBlackboxInfobarIfNeeded, this);
1070 WebInspector.moduleSetting("skipContentScripts").removeChangeListener(th is._showBlackboxInfobarIfNeeded, this); 1073 WebInspector.moduleSetting("skipContentScripts").removeChangeListener(th is._showBlackboxInfobarIfNeeded, this);
1071 WebInspector.UISourceCodeFrame.prototype.dispose.call(this); 1074 WebInspector.UISourceCodeFrame.prototype.dispose.call(this);
1072 }, 1075 },
1073 1076
1074 __proto__: WebInspector.UISourceCodeFrame.prototype 1077 __proto__: WebInspector.UISourceCodeFrame.prototype
1075 } 1078 }
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/devtools/front_end/source_frame/SourceFrame.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698