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

Side by Side Diff: third_party/WebKit/Source/devtools/front_end/main/Main.js

Issue 2421983002: [DevTools] Remove layout editor experiment. (Closed)
Patch Set: rebased Created 4 years 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) 2006, 2007, 2008 Apple Inc. All rights reserved. 2 * Copyright (C) 2006, 2007, 2008 Apple Inc. All rights reserved.
3 * Copyright (C) 2007 Matt Lilek (pewtermoose@gmail.com). 3 * Copyright (C) 2007 Matt Lilek (pewtermoose@gmail.com).
4 * Copyright (C) 2009 Joseph Pecoraro 4 * Copyright (C) 2009 Joseph Pecoraro
5 * 5 *
6 * Redistribution and use in source and binary forms, with or without 6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions 7 * modification, are permitted provided that the following conditions
8 * are met: 8 * are met:
9 * 9 *
10 * 1. Redistributions of source code must retain the above copyright 10 * 1. Redistributions of source code must retain the above copyright
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 _initializeExperiments(prefs) { 94 _initializeExperiments(prefs) {
95 Runtime.experiments.register('accessibilityInspection', 'Accessibility Inspe ction'); 95 Runtime.experiments.register('accessibilityInspection', 'Accessibility Inspe ction');
96 Runtime.experiments.register('applyCustomStylesheet', 'Allow custom UI theme s'); 96 Runtime.experiments.register('applyCustomStylesheet', 'Allow custom UI theme s');
97 Runtime.experiments.register('audits2', 'Audits 2.0', true); 97 Runtime.experiments.register('audits2', 'Audits 2.0', true);
98 Runtime.experiments.register('autoAttachToCrossProcessSubframes', 'Auto-atta ch to cross-process subframes', true); 98 Runtime.experiments.register('autoAttachToCrossProcessSubframes', 'Auto-atta ch to cross-process subframes', true);
99 Runtime.experiments.register('blackboxJSFramesOnTimeline', 'Blackbox JavaScr ipt frames on Timeline', true); 99 Runtime.experiments.register('blackboxJSFramesOnTimeline', 'Blackbox JavaScr ipt frames on Timeline', true);
100 Runtime.experiments.register('colorContrastRatio', 'Contrast ratio line in c olor picker', true); 100 Runtime.experiments.register('colorContrastRatio', 'Contrast ratio line in c olor picker', true);
101 Runtime.experiments.register('continueToFirstInvocation', 'Continue to first invocation', true); 101 Runtime.experiments.register('continueToFirstInvocation', 'Continue to first invocation', true);
102 Runtime.experiments.register('emptySourceMapAutoStepping', 'Empty sourcemap auto-stepping'); 102 Runtime.experiments.register('emptySourceMapAutoStepping', 'Empty sourcemap auto-stepping');
103 Runtime.experiments.register('inputEventsOnTimelineOverview', 'Input events on Timeline overview', true); 103 Runtime.experiments.register('inputEventsOnTimelineOverview', 'Input events on Timeline overview', true);
104 Runtime.experiments.register('layoutEditor', 'Layout editor', true);
105 Runtime.experiments.register('inspectTooltip', 'Dark inspect element tooltip '); 104 Runtime.experiments.register('inspectTooltip', 'Dark inspect element tooltip ');
106 Runtime.experiments.register('liveSASS', 'Live SASS'); 105 Runtime.experiments.register('liveSASS', 'Live SASS');
107 Runtime.experiments.register('nodeDebugging', 'Node debugging', true); 106 Runtime.experiments.register('nodeDebugging', 'Node debugging', true);
108 Runtime.experiments.register('persistence2', 'Persistence 2.0'); 107 Runtime.experiments.register('persistence2', 'Persistence 2.0');
109 Runtime.experiments.register('privateScriptInspection', 'Private script insp ection'); 108 Runtime.experiments.register('privateScriptInspection', 'Private script insp ection');
110 Runtime.experiments.register('requestBlocking', 'Request blocking', true); 109 Runtime.experiments.register('requestBlocking', 'Request blocking', true);
111 Runtime.experiments.register('resolveVariableNames', 'Resolve variable names '); 110 Runtime.experiments.register('resolveVariableNames', 'Resolve variable names ');
112 Runtime.experiments.register('timelineShowAllEvents', 'Show all events on Ti meline', true); 111 Runtime.experiments.register('timelineShowAllEvents', 'Show all events on Ti meline', true);
113 Runtime.experiments.register('timelineShowAllProcesses', 'Show all processes on Timeline', true); 112 Runtime.experiments.register('timelineShowAllProcesses', 'Show all processes on Timeline', true);
114 Runtime.experiments.register('inlineBreakpoints', 'Show inline breakpoints') ; 113 Runtime.experiments.register('inlineBreakpoints', 'Show inline breakpoints') ;
(...skipping 869 matching lines...) Expand 10 before | Expand all | Expand 10 after
984 * @override 983 * @override
985 * @return {?Element} 984 * @return {?Element}
986 */ 985 */
987 settingElement() { 986 settingElement() {
988 return UI.SettingsUI.createSettingCheckbox( 987 return UI.SettingsUI.createSettingCheckbox(
989 Common.UIString('Show rulers'), Common.moduleSetting('showMetricsRulers' )); 988 Common.UIString('Show rulers'), Common.moduleSetting('showMetricsRulers' ));
990 } 989 }
991 }; 990 };
992 991
993 new Main.Main(); 992 new Main.Main();
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698