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

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

Issue 2417703006: DevTools: introduce a stub for the new audits panel (behind experiment). (Closed)
Patch Set: missing file added. Created 4 years, 2 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) 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 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 new WebInspector.VersionController().updateVersion(); 74 new WebInspector.VersionController().updateVersion();
75 }, 75 },
76 76
77 /** 77 /**
78 * @param {!Object<string, string>} prefs 78 * @param {!Object<string, string>} prefs
79 */ 79 */
80 _initializeExperiments: function(prefs) 80 _initializeExperiments: function(prefs)
81 { 81 {
82 Runtime.experiments.register("accessibilityInspection", "Accessibility I nspection"); 82 Runtime.experiments.register("accessibilityInspection", "Accessibility I nspection");
83 Runtime.experiments.register("applyCustomStylesheet", "Allow custom UI t hemes"); 83 Runtime.experiments.register("applyCustomStylesheet", "Allow custom UI t hemes");
84 Runtime.experiments.register("audits2", "Audits 2.0", true);
84 Runtime.experiments.register("autoAttachToCrossProcessSubframes", "Auto- attach to cross-process subframes", true); 85 Runtime.experiments.register("autoAttachToCrossProcessSubframes", "Auto- attach to cross-process subframes", true);
85 Runtime.experiments.register("blackboxJSFramesOnTimeline", "Blackbox Jav aScript frames on Timeline", true); 86 Runtime.experiments.register("blackboxJSFramesOnTimeline", "Blackbox Jav aScript frames on Timeline", true);
86 Runtime.experiments.register("canvasNetworkTimeline", "Canvas based time line in Network panel", true); 87 Runtime.experiments.register("canvasNetworkTimeline", "Canvas based time line in Network panel", true);
87 Runtime.experiments.register("colorContrastRatio", "Contrast ratio line in color picker", true); 88 Runtime.experiments.register("colorContrastRatio", "Contrast ratio line in color picker", true);
88 Runtime.experiments.register("continueToFirstInvocation", "Continue to f irst invocation", true); 89 Runtime.experiments.register("continueToFirstInvocation", "Continue to f irst invocation", true);
89 Runtime.experiments.register("emptySourceMapAutoStepping", "Empty source map auto-stepping"); 90 Runtime.experiments.register("emptySourceMapAutoStepping", "Empty source map auto-stepping");
90 Runtime.experiments.register("inputEventsOnTimelineOverview", "Input eve nts on Timeline overview", true); 91 Runtime.experiments.register("inputEventsOnTimelineOverview", "Input eve nts on Timeline overview", true);
91 Runtime.experiments.register("layersPanel", "Layers panel"); 92 Runtime.experiments.register("layersPanel", "Layers panel");
92 Runtime.experiments.register("layoutEditor", "Layout editor", true); 93 Runtime.experiments.register("layoutEditor", "Layout editor", true);
93 Runtime.experiments.register("inspectTooltip", "Dark inspect element too ltip"); 94 Runtime.experiments.register("inspectTooltip", "Dark inspect element too ltip");
(...skipping 1023 matching lines...) Expand 10 before | Expand all | Expand 10 after
1117 * @override 1118 * @override
1118 * @return {?Element} 1119 * @return {?Element}
1119 */ 1120 */
1120 settingElement: function() 1121 settingElement: function()
1121 { 1122 {
1122 return WebInspector.SettingsUI.createSettingCheckbox(WebInspector.UIStri ng("Show rulers"), WebInspector.moduleSetting("showMetricsRulers")); 1123 return WebInspector.SettingsUI.createSettingCheckbox(WebInspector.UIStri ng("Show rulers"), WebInspector.moduleSetting("showMetricsRulers"));
1123 } 1124 }
1124 } 1125 }
1125 1126
1126 new WebInspector.Main(); 1127 new WebInspector.Main();
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698