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

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

Issue 2128093004: DevTools: Add color swatches to Sources panel (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: First iteration Created 4 years, 5 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 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 Runtime.experiments.register("inputEventsOnTimelineOverview", "Input eve nts on Timeline overview", true); 112 Runtime.experiments.register("inputEventsOnTimelineOverview", "Input eve nts on Timeline overview", true);
113 Runtime.experiments.register("layersPanel", "Layers panel"); 113 Runtime.experiments.register("layersPanel", "Layers panel");
114 Runtime.experiments.register("layoutEditor", "Layout editor", true); 114 Runtime.experiments.register("layoutEditor", "Layout editor", true);
115 Runtime.experiments.register("inspectTooltip", "Dark inspect element too ltip"); 115 Runtime.experiments.register("inspectTooltip", "Dark inspect element too ltip");
116 Runtime.experiments.register("liveSASS", "Live SASS"); 116 Runtime.experiments.register("liveSASS", "Live SASS");
117 Runtime.experiments.register("privateScriptInspection", "Private script inspection"); 117 Runtime.experiments.register("privateScriptInspection", "Private script inspection");
118 Runtime.experiments.register("requestBlocking", "Request blocking", true ); 118 Runtime.experiments.register("requestBlocking", "Request blocking", true );
119 Runtime.experiments.register("resolveVariableNames", "Resolve variable n ames"); 119 Runtime.experiments.register("resolveVariableNames", "Resolve variable n ames");
120 Runtime.experiments.register("timelineShowAllEvents", "Show all events o n Timeline", true); 120 Runtime.experiments.register("timelineShowAllEvents", "Show all events o n Timeline", true);
121 Runtime.experiments.register("securityPanel", "Security panel"); 121 Runtime.experiments.register("securityPanel", "Security panel");
122 Runtime.experiments.register("sourceColorPicker", "Source color picker") ;
122 Runtime.experiments.register("sourceDiff", "Source diff"); 123 Runtime.experiments.register("sourceDiff", "Source diff");
123 Runtime.experiments.register("timelineFlowEvents", "Timeline flow events ", true); 124 Runtime.experiments.register("timelineFlowEvents", "Timeline flow events ", true);
124 Runtime.experiments.register("timelineInvalidationTracking", "Timeline i nvalidation tracking", true); 125 Runtime.experiments.register("timelineInvalidationTracking", "Timeline i nvalidation tracking", true);
125 Runtime.experiments.register("timelineRecordingPerspectives", "Timeline recording perspectives UI"); 126 Runtime.experiments.register("timelineRecordingPerspectives", "Timeline recording perspectives UI");
126 Runtime.experiments.register("timelineTracingJSProfile", "Timeline traci ng based JS profiler", true); 127 Runtime.experiments.register("timelineTracingJSProfile", "Timeline traci ng based JS profiler", true);
127 128
128 Runtime.experiments.cleanUpStaleExperiments(); 129 Runtime.experiments.cleanUpStaleExperiments();
129 130
130 if (InspectorFrontendHost.isUnderTest()) { 131 if (InspectorFrontendHost.isUnderTest()) {
131 var testPath = JSON.parse(prefs["testPath"] || "\"\""); 132 var testPath = JSON.parse(prefs["testPath"] || "\"\"");
(...skipping 977 matching lines...) Expand 10 before | Expand all | Expand 10 after
1109 * @return {?Element} 1110 * @return {?Element}
1110 */ 1111 */
1111 settingElement: function() 1112 settingElement: function()
1112 { 1113 {
1113 return WebInspector.SettingsUI.createSettingCheckbox(WebInspector.UIStri ng("Show rulers"), WebInspector.moduleSetting("showMetricsRulers")); 1114 return WebInspector.SettingsUI.createSettingCheckbox(WebInspector.UIStri ng("Show rulers"), WebInspector.moduleSetting("showMetricsRulers"));
1114 } 1115 }
1115 } 1116 }
1116 1117
1117 1118
1118 new WebInspector.Main(); 1119 new WebInspector.Main();
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698