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

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

Issue 15986003: DevTools: [CodeMirror] autocompletion for CodeMirrorTextEditor (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: address comments Created 7 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 | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 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 * * Redistributions of source code must retain the above copyright 8 * * 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 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after
203 this.fileSystemInspection = this._createExperiment("fileSystemInspection", " FileSystem inspection"); 203 this.fileSystemInspection = this._createExperiment("fileSystemInspection", " FileSystem inspection");
204 this.canvasInspection = this._createExperiment("canvasInspection ", "Canvas inspection"); 204 this.canvasInspection = this._createExperiment("canvasInspection ", "Canvas inspection");
205 this.sass = this._createExperiment("sass", "Sass stylesheet debugging"); 205 this.sass = this._createExperiment("sass", "Sass stylesheet debugging");
206 this.cssRegions = this._createExperiment("cssRegions", "CSS Regions Support" ); 206 this.cssRegions = this._createExperiment("cssRegions", "CSS Regions Support" );
207 this.showOverridesInDrawer = this._createExperiment("showOverridesInDrawer", "Show Overrides in drawer"); 207 this.showOverridesInDrawer = this._createExperiment("showOverridesInDrawer", "Show Overrides in drawer");
208 this.showWhitespaceInEditor = this._createExperiment("showWhitespaceInEditor ", "Show whitespace characters in editor"); 208 this.showWhitespaceInEditor = this._createExperiment("showWhitespaceInEditor ", "Show whitespace characters in editor");
209 this.customizableToolbar = this._createExperiment("customizableToolbar", "En able toolbar customization"); 209 this.customizableToolbar = this._createExperiment("customizableToolbar", "En able toolbar customization");
210 this.tethering = this._createExperiment("tethering", "Enable port forwarding "); 210 this.tethering = this._createExperiment("tethering", "Enable port forwarding ");
211 this.drawerOverlay = this._createExperiment("drawerOverlay", "Open console a s overlay"); 211 this.drawerOverlay = this._createExperiment("drawerOverlay", "Open console a s overlay");
212 this.heapObjectsTracking = this._createExperiment("heapObjectsTracking", "En able heap objects tracking profile type"); 212 this.heapObjectsTracking = this._createExperiment("heapObjectsTracking", "En able heap objects tracking profile type");
213 this.textEditorAutocomplete = this._createExperiment("textEditorAutocomplete ", "Enable text editor autocompletion");
213 214
214 this._cleanUpSetting(); 215 this._cleanUpSetting();
215 } 216 }
216 217
217 WebInspector.ExperimentsSettings.prototype = { 218 WebInspector.ExperimentsSettings.prototype = {
218 /** 219 /**
219 * @return {Array.<WebInspector.Experiment>} 220 * @return {Array.<WebInspector.Experiment>}
220 */ 221 */
221 get experiments() 222 get experiments()
222 { 223 {
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after
395 { 396 {
396 // If there are too many breakpoints in a storage, it is likely due to a recent bug that caused 397 // If there are too many breakpoints in a storage, it is likely due to a recent bug that caused
397 // periodical breakpoints duplication leading to inspector slowness. 398 // periodical breakpoints duplication leading to inspector slowness.
398 if (breakpointsSetting.get().length > maxBreakpointsCount) 399 if (breakpointsSetting.get().length > maxBreakpointsCount)
399 breakpointsSetting.set([]); 400 breakpointsSetting.set([]);
400 } 401 }
401 } 402 }
402 403
403 WebInspector.settings = new WebInspector.Settings(); 404 WebInspector.settings = new WebInspector.Settings();
404 WebInspector.experimentsSettings = new WebInspector.ExperimentsSettings(); 405 WebInspector.experimentsSettings = new WebInspector.ExperimentsSettings();
OLDNEW
« no previous file with comments | « Source/devtools/front_end/CompletionDictionary.js ('k') | Source/devtools/front_end/TextUtils.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698