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

Side by Side Diff: third_party/WebKit/Source/devtools/front_end/ui/TextEditor.js

Issue 2440953003: DevTools: use semicolons after each statement. (Closed)
Patch Set: rebaseline Created 4 years, 1 month 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 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 /** 5 /**
6 * @interface 6 * @interface
7 */ 7 */
8 WebInspector.TextEditorFactory = function() 8 WebInspector.TextEditorFactory = function()
9 { 9 {
10 } 10 };
11 11
12 WebInspector.TextEditorFactory.prototype = { 12 WebInspector.TextEditorFactory.prototype = {
13 /** 13 /**
14 * @param {!WebInspector.TextEditor.Options} options 14 * @param {!WebInspector.TextEditor.Options} options
15 * @return {!WebInspector.TextEditor} 15 * @return {!WebInspector.TextEditor}
16 */ 16 */
17 createEditor: function(options) { } 17 createEditor: function(options) { }
18 } 18 };
19 19
20 /** 20 /**
21 * @interface 21 * @interface
22 */ 22 */
23 WebInspector.TextEditor = function() 23 WebInspector.TextEditor = function()
24 { 24 {
25 } 25 };
26 26
27 WebInspector.TextEditor.prototype = { 27 WebInspector.TextEditor.prototype = {
28 28
29 /** 29 /**
30 * @return {!WebInspector.Widget} 30 * @return {!WebInspector.Widget}
31 */ 31 */
32 widget: function() { }, 32 widget: function() { },
33 33
34 /** 34 /**
35 * @return {!WebInspector.TextRange} 35 * @return {!WebInspector.TextRange}
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 * @param {function(!KeyboardEvent)} handler 69 * @param {function(!KeyboardEvent)} handler
70 */ 70 */
71 addKeyDownHandler: function(handler) { }, 71 addKeyDownHandler: function(handler) { },
72 72
73 /** 73 /**
74 * @param {?WebInspector.AutocompleteConfig} config 74 * @param {?WebInspector.AutocompleteConfig} config
75 */ 75 */
76 configureAutocomplete: function(config) { }, 76 configureAutocomplete: function(config) { },
77 77
78 clearAutocomplete: function() { } 78 clearAutocomplete: function() { }
79 } 79 };
80 80
81 /** 81 /**
82 * @typedef {{ 82 * @typedef {{
83 * bracketMatchingSetting: (!WebInspector.Setting|undefined), 83 * bracketMatchingSetting: (!WebInspector.Setting|undefined),
84 * lineNumbers: boolean, 84 * lineNumbers: boolean,
85 * lineWrapping: boolean, 85 * lineWrapping: boolean,
86 * mimeType: (string|undefined), 86 * mimeType: (string|undefined),
87 * autoHeight: (boolean|undefined) 87 * autoHeight: (boolean|undefined)
88 * }} 88 * }}
89 **/ 89 **/
90 WebInspector.TextEditor.Options; 90 WebInspector.TextEditor.Options;
91 91
92 /** 92 /**
93 * @typedef {{ 93 * @typedef {{
94 * substituteRangeCallback: ((function(number, number):?WebInspector.TextRan ge)|undefined), 94 * substituteRangeCallback: ((function(number, number):?WebInspector.TextRan ge)|undefined),
95 * suggestionsCallback: ((function(!WebInspector.TextRange, !WebInspector.Te xtRange):?Promise.<!WebInspector.SuggestBox.Suggestions>)|undefined), 95 * suggestionsCallback: ((function(!WebInspector.TextRange, !WebInspector.Te xtRange):?Promise.<!WebInspector.SuggestBox.Suggestions>)|undefined),
96 * isWordChar: ((function(string):boolean)|undefined), 96 * isWordChar: ((function(string):boolean)|undefined),
97 * captureEnter: (boolean|undefined) 97 * captureEnter: (boolean|undefined)
98 * }} 98 * }}
99 **/ 99 **/
100 WebInspector.AutocompleteConfig; 100 WebInspector.AutocompleteConfig;
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698