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

Side by Side Diff: Source/devtools/front_end/sources/UISourceCodeFrame.js

Issue 1165263002: DevTools: Add 'continue to here' to the editor context menu. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 6 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) 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 150 matching lines...) Expand 10 before | Expand all | Expand 10 after
161 /** 161 /**
162 * @param {string} content 162 * @param {string} content
163 */ 163 */
164 _innerSetContent: function(content) 164 _innerSetContent: function(content)
165 { 165 {
166 this._isSettingContent = true; 166 this._isSettingContent = true;
167 this.setContent(content); 167 this.setContent(content);
168 delete this._isSettingContent; 168 delete this._isSettingContent;
169 }, 169 },
170 170
171 populateTextAreaContextMenu: function(contextMenu, lineNumber) 171 populateTextAreaContextMenu: function(contextMenu, lineNumber, columnNumber)
172 { 172 {
173 WebInspector.SourceFrame.prototype.populateTextAreaContextMenu.call(this , contextMenu, lineNumber); 173 WebInspector.SourceFrame.prototype.populateTextAreaContextMenu.call(this , contextMenu, lineNumber, columnNumber);
174 contextMenu.appendApplicableItems(this._uiSourceCode); 174 contextMenu.appendApplicableItems(this._uiSourceCode);
175 contextMenu.appendApplicableItems(new WebInspector.UILocation(this._uiSo urceCode, lineNumber, columnNumber));
175 contextMenu.appendSeparator(); 176 contextMenu.appendSeparator();
176 }, 177 },
177 178
178 /** 179 /**
179 * @param {!Array.<!WebInspector.UISourceCodeFrame.Infobar|undefined>} infob ars 180 * @param {!Array.<!WebInspector.UISourceCodeFrame.Infobar|undefined>} infob ars
180 */ 181 */
181 attachInfobars: function(infobars) 182 attachInfobars: function(infobars)
182 { 183 {
183 for (var i = infobars.length - 1; i >= 0; --i) { 184 for (var i = infobars.length - 1; i >= 0; --i) {
184 var infobar = infobars[i]; 185 var infobar = infobars[i];
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
265 266
266 dispose: function() 267 dispose: function()
267 { 268 {
268 this.element.remove(); 269 this.element.remove();
269 this._onResize(); 270 this._onResize();
270 delete this._uiSourceCodeFrame; 271 delete this._uiSourceCodeFrame;
271 }, 272 },
272 273
273 __proto__: WebInspector.Infobar.prototype 274 __proto__: WebInspector.Infobar.prototype
274 } 275 }
OLDNEW
« no previous file with comments | « Source/devtools/front_end/sources/SourcesPanel.js ('k') | Source/devtools/front_end/sources/module.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698