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

Side by Side Diff: third_party/WebKit/Source/devtools/front_end/source_frame/SourceFrame.js

Issue 2149833005: DevTools: rename SourceFrame.onTextEditorContentLoaded into onTextEditorContentSet (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebaseline 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
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 283 matching lines...) Expand 10 before | Expand all | Expand 10 after
294 this._textEditor.setSelection(selection); 294 this._textEditor.setSelection(selection);
295 } 295 }
296 296
297 this._updateHighlighterType(content || ""); 297 this._updateHighlighterType(content || "");
298 this._wasShownOrLoaded(); 298 this._wasShownOrLoaded();
299 299
300 if (this._delayedFindSearchMatches) { 300 if (this._delayedFindSearchMatches) {
301 this._delayedFindSearchMatches(); 301 this._delayedFindSearchMatches();
302 delete this._delayedFindSearchMatches; 302 delete this._delayedFindSearchMatches;
303 } 303 }
304 this.onTextEditorContentLoaded(); 304 this.onTextEditorContentSet();
305 }, 305 },
306 306
307 onTextEditorContentLoaded: function() {}, 307 onTextEditorContentSet: function() {},
308 308
309 /** 309 /**
310 * @param {?WebInspector.SearchableView} view 310 * @param {?WebInspector.SearchableView} view
311 */ 311 */
312 setSearchableView: function(view) 312 setSearchableView: function(view)
313 { 313 {
314 this._searchableView = view; 314 this._searchableView = view;
315 }, 315 },
316 316
317 /** 317 /**
(...skipping 402 matching lines...) Expand 10 before | Expand all | Expand 10 after
720 /** 720 /**
721 * @override 721 * @override
722 * @param {?WebInspector.TextRange} from 722 * @param {?WebInspector.TextRange} from
723 * @param {?WebInspector.TextRange} to 723 * @param {?WebInspector.TextRange} to
724 */ 724 */
725 onJumpToPosition: function(from, to) 725 onJumpToPosition: function(from, to)
726 { 726 {
727 this._sourceFrame.onJumpToPosition(from, to); 727 this._sourceFrame.onJumpToPosition(from, to);
728 } 728 }
729 } 729 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698