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

Side by Side Diff: Source/devtools/front_end/TextEditor.js

Issue 204323003: DevTools: Merge highlightPosition and revealLine methods on SourceFrame. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fixed tests Created 6 years, 9 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 | Annotate | Revision Log
« no previous file with comments | « Source/devtools/front_end/SourcesPanel.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 * Copyright (C) 2010 Apple Inc. All rights reserved. 3 * Copyright (C) 2010 Apple Inc. 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 are 6 * modification, are permitted provided that the following conditions are
7 * met: 7 * met:
8 * 8 *
9 * * Redistributions of source code must retain the above copyright 9 * * 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 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
107 */ 107 */
108 highlightRange: function(range, cssClass) { }, 108 highlightRange: function(range, cssClass) { },
109 109
110 /** 110 /**
111 * @param {!Object} highlightDescriptor 111 * @param {!Object} highlightDescriptor
112 */ 112 */
113 removeHighlight: function(highlightDescriptor) { }, 113 removeHighlight: function(highlightDescriptor) { },
114 114
115 /** 115 /**
116 * @param {number} lineNumber 116 * @param {number} lineNumber
117 */
118 revealLine: function(lineNumber) { },
119
120 /**
121 * @param {number} lineNumber
122 * @param {boolean} disabled 117 * @param {boolean} disabled
123 * @param {boolean} conditional 118 * @param {boolean} conditional
124 */ 119 */
125 addBreakpoint: function(lineNumber, disabled, conditional) { }, 120 addBreakpoint: function(lineNumber, disabled, conditional) { },
126 121
127 /** 122 /**
128 * @param {number} lineNumber 123 * @param {number} lineNumber
129 */ 124 */
130 removeBreakpoint: function(lineNumber) { }, 125 removeBreakpoint: function(lineNumber) { },
131 126
(...skipping 18 matching lines...) Expand all
150 145
151 /** 146 /**
152 * @param {!RegExp} regex 147 * @param {!RegExp} regex
153 * @param {?WebInspector.TextRange} range 148 * @param {?WebInspector.TextRange} range
154 */ 149 */
155 highlightSearchResults: function(regex, range) { }, 150 highlightSearchResults: function(regex, range) { },
156 151
157 /** 152 /**
158 * @param {number} lineNumber 153 * @param {number} lineNumber
159 * @param {number=} columnNumber 154 * @param {number=} columnNumber
155 * @param {boolean=} shouldHighlight
160 */ 156 */
161 highlightPosition: function(lineNumber, columnNumber) { }, 157 revealPosition: function(lineNumber, columnNumber, shouldHighlight) { },
162 158
163 clearPositionHighlight: function() { }, 159 clearPositionHighlight: function() { },
164 160
165 /** 161 /**
166 * @return {!Array.<!Element>} 162 * @return {!Array.<!Element>}
167 */ 163 */
168 elementsToRestoreScrollPositionsFor: function() { }, 164 elementsToRestoreScrollPositionsFor: function() { },
169 165
170 /** 166 /**
171 * @param {!WebInspector.TextEditor} textEditor 167 * @param {!WebInspector.TextEditor} textEditor
(...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after
361 */ 357 */
362 WebInspector.TokenizerFactory = function() { } 358 WebInspector.TokenizerFactory = function() { }
363 359
364 WebInspector.TokenizerFactory.prototype = { 360 WebInspector.TokenizerFactory.prototype = {
365 /** 361 /**
366 * @param {string} mimeType 362 * @param {string} mimeType
367 * @return {function(string, function(string, ?string, number, number))} 363 * @return {function(string, function(string, ?string, number, number))}
368 */ 364 */
369 createTokenizer: function(mimeType) { } 365 createTokenizer: function(mimeType) { }
370 } 366 }
OLDNEW
« no previous file with comments | « Source/devtools/front_end/SourcesPanel.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698