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

Unified Diff: Source/devtools/front_end/TabbedEditorContainer.js

Issue 23474010: DevTools: "Jump between editing locations" experiment (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebaseline this patch Created 6 years, 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/devtools/front_end/SourcesPanelDescriptor.js ('k') | Source/devtools/front_end/TextEditor.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/devtools/front_end/TabbedEditorContainer.js
diff --git a/Source/devtools/front_end/TabbedEditorContainer.js b/Source/devtools/front_end/TabbedEditorContainer.js
index fb5515ef2b20c3cd2f506e24033483603ed12626..b6b74391be41e22d853552cb09d1444a1c4172e3 100644
--- a/Source/devtools/front_end/TabbedEditorContainer.js
+++ b/Source/devtools/front_end/TabbedEditorContainer.js
@@ -183,7 +183,8 @@ WebInspector.TabbedEditorContainer.prototype = {
this._currentView = this.visibleView;
this._addScrollAndSelectionListeners();
- this.dispatchEventToListeners(WebInspector.TabbedEditorContainer.Events.EditorSelected, this._currentFile);
+ var eventData = { currentFile: this._currentFile, userGesture: userGesture };
+ this.dispatchEventToListeners(WebInspector.TabbedEditorContainer.Events.EditorSelected, eventData);
},
/**
« no previous file with comments | « Source/devtools/front_end/SourcesPanelDescriptor.js ('k') | Source/devtools/front_end/TextEditor.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698