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

Side by Side Diff: Source/devtools/front_end/source_frame/ResourceSourceFrame.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) 2007, 2008 Apple Inc. All rights reserved. 2 * Copyright (C) 2007, 2008 Apple Inc. All rights reserved.
3 * Copyright (C) IBM Corp. 2009 All rights reserved. 3 * Copyright (C) IBM Corp. 2009 All rights reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 8 *
9 * 1. Redistributions of source code must retain the above copyright 9 * 1. Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 { 57 {
58 for (var message of this._messages) 58 for (var message of this._messages)
59 this.addMessageToSource(WebInspector.SourceFrameMessage.fromConsoleM essage(message, message.line - 1, message.column)); 59 this.addMessageToSource(WebInspector.SourceFrameMessage.fromConsoleM essage(message, message.line - 1, message.column));
60 }, 60 },
61 61
62 get resource() 62 get resource()
63 { 63 {
64 return this._resource; 64 return this._resource;
65 }, 65 },
66 66
67 populateTextAreaContextMenu: function(contextMenu, lineNumber) 67 populateTextAreaContextMenu: function(contextMenu, lineNumber, columnNumber)
68 { 68 {
69 contextMenu.appendApplicableItems(this._resource); 69 contextMenu.appendApplicableItems(this._resource);
70 }, 70 },
71 71
72 __proto__: WebInspector.SourceFrame.prototype 72 __proto__: WebInspector.SourceFrame.prototype
73 } 73 }
74 74
75 /** 75 /**
76 * @constructor 76 * @constructor
77 * @extends {WebInspector.VBox} 77 * @extends {WebInspector.VBox}
(...skipping 19 matching lines...) Expand all
97 /** 97 /**
98 * @param {?string} content 98 * @param {?string} content
99 */ 99 */
100 _contentLoaded: function(content) 100 _contentLoaded: function(content)
101 { 101 {
102 this._content.textContent = content; 102 this._content.textContent = content;
103 }, 103 },
104 104
105 __proto__: WebInspector.VBox.prototype 105 __proto__: WebInspector.VBox.prototype
106 } 106 }
OLDNEW
« no previous file with comments | « Source/devtools/front_end/source_frame/CodeMirrorTextEditor.js ('k') | Source/devtools/front_end/source_frame/SourceFrame.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698