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

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

Issue 2372303003: DevTools: introduce external service client (behind experiment). (Closed)
Patch Set: external linter 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 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 Runtime.experiments.register("inspectTooltip", "Dark inspect element too ltip"); 91 Runtime.experiments.register("inspectTooltip", "Dark inspect element too ltip");
92 Runtime.experiments.register("liveSASS", "Live SASS"); 92 Runtime.experiments.register("liveSASS", "Live SASS");
93 Runtime.experiments.register("nodeDebugging", "Node debugging", true); 93 Runtime.experiments.register("nodeDebugging", "Node debugging", true);
94 Runtime.experiments.register("privateScriptInspection", "Private script inspection"); 94 Runtime.experiments.register("privateScriptInspection", "Private script inspection");
95 Runtime.experiments.register("requestBlocking", "Request blocking", true ); 95 Runtime.experiments.register("requestBlocking", "Request blocking", true );
96 Runtime.experiments.register("resolveVariableNames", "Resolve variable n ames"); 96 Runtime.experiments.register("resolveVariableNames", "Resolve variable n ames");
97 Runtime.experiments.register("timelineShowAllEvents", "Show all events o n Timeline", true); 97 Runtime.experiments.register("timelineShowAllEvents", "Show all events o n Timeline", true);
98 Runtime.experiments.register("timelineShowAllProcesses", "Show all proce sses on Timeline", true); 98 Runtime.experiments.register("timelineShowAllProcesses", "Show all proce sses on Timeline", true);
99 Runtime.experiments.register("securityPanel", "Security panel"); 99 Runtime.experiments.register("securityPanel", "Security panel");
100 Runtime.experiments.register("sourceDiff", "Source diff"); 100 Runtime.experiments.register("sourceDiff", "Source diff");
101 Runtime.experiments.register("terminalInDrawer", "Terminal in drawer", t rue);
101 Runtime.experiments.register("timelineFlowEvents", "Timeline flow events ", true); 102 Runtime.experiments.register("timelineFlowEvents", "Timeline flow events ", true);
102 Runtime.experiments.register("timelineInvalidationTracking", "Timeline i nvalidation tracking", true); 103 Runtime.experiments.register("timelineInvalidationTracking", "Timeline i nvalidation tracking", true);
103 Runtime.experiments.register("timelineRecordingPerspectives", "Timeline recording perspectives UI"); 104 Runtime.experiments.register("timelineRecordingPerspectives", "Timeline recording perspectives UI");
104 Runtime.experiments.register("timelineTracingJSProfile", "Timeline traci ng based JS profiler", true); 105 Runtime.experiments.register("timelineTracingJSProfile", "Timeline traci ng based JS profiler", true);
105 106
106 Runtime.experiments.cleanUpStaleExperiments(); 107 Runtime.experiments.cleanUpStaleExperiments();
107 108
108 if (InspectorFrontendHost.isUnderTest()) { 109 if (InspectorFrontendHost.isUnderTest()) {
109 var testPath = JSON.parse(prefs["testPath"] || "\"\""); 110 var testPath = JSON.parse(prefs["testPath"] || "\"\"");
110 // Enable experiments for testing. 111 // Enable experiments for testing.
(...skipping 995 matching lines...) Expand 10 before | Expand all | Expand 10 after
1106 * @override 1107 * @override
1107 * @return {?Element} 1108 * @return {?Element}
1108 */ 1109 */
1109 settingElement: function() 1110 settingElement: function()
1110 { 1111 {
1111 return WebInspector.SettingsUI.createSettingCheckbox(WebInspector.UIStri ng("Show rulers"), WebInspector.moduleSetting("showMetricsRulers")); 1112 return WebInspector.SettingsUI.createSettingCheckbox(WebInspector.UIStri ng("Show rulers"), WebInspector.moduleSetting("showMetricsRulers"));
1112 } 1113 }
1113 } 1114 }
1114 1115
1115 new WebInspector.Main(); 1116 new WebInspector.Main();
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698