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

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: Inline color swatches 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 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
111 Runtime.experiments.register("inputEventsOnTimelineOverview", "Input eve nts on Timeline overview", true); 111 Runtime.experiments.register("inputEventsOnTimelineOverview", "Input eve nts on Timeline overview", true);
112 Runtime.experiments.register("layersPanel", "Layers panel"); 112 Runtime.experiments.register("layersPanel", "Layers panel");
113 Runtime.experiments.register("layoutEditor", "Layout editor", true); 113 Runtime.experiments.register("layoutEditor", "Layout editor", true);
114 Runtime.experiments.register("inspectTooltip", "Dark inspect element too ltip"); 114 Runtime.experiments.register("inspectTooltip", "Dark inspect element too ltip");
115 Runtime.experiments.register("liveSASS", "Live SASS"); 115 Runtime.experiments.register("liveSASS", "Live SASS");
116 Runtime.experiments.register("privateScriptInspection", "Private script inspection"); 116 Runtime.experiments.register("privateScriptInspection", "Private script inspection");
117 Runtime.experiments.register("requestBlocking", "Request blocking", true ); 117 Runtime.experiments.register("requestBlocking", "Request blocking", true );
118 Runtime.experiments.register("resolveVariableNames", "Resolve variable n ames"); 118 Runtime.experiments.register("resolveVariableNames", "Resolve variable n ames");
119 Runtime.experiments.register("timelineShowAllEvents", "Show all events o n Timeline", true); 119 Runtime.experiments.register("timelineShowAllEvents", "Show all events o n Timeline", true);
120 Runtime.experiments.register("securityPanel", "Security panel"); 120 Runtime.experiments.register("securityPanel", "Security panel");
121 Runtime.experiments.register("sourceColorPicker", "Source color picker") ;
121 Runtime.experiments.register("sourceDiff", "Source diff"); 122 Runtime.experiments.register("sourceDiff", "Source diff");
122 Runtime.experiments.register("timelineFlowEvents", "Timeline flow events ", true); 123 Runtime.experiments.register("timelineFlowEvents", "Timeline flow events ", true);
123 Runtime.experiments.register("timelineInvalidationTracking", "Timeline i nvalidation tracking", true); 124 Runtime.experiments.register("timelineInvalidationTracking", "Timeline i nvalidation tracking", true);
124 Runtime.experiments.register("timelineRecordingPerspectives", "Timeline recording perspectives UI"); 125 Runtime.experiments.register("timelineRecordingPerspectives", "Timeline recording perspectives UI");
125 Runtime.experiments.register("timelineTracingJSProfile", "Timeline traci ng based JS profiler", true); 126 Runtime.experiments.register("timelineTracingJSProfile", "Timeline traci ng based JS profiler", true);
126 127
127 Runtime.experiments.cleanUpStaleExperiments(); 128 Runtime.experiments.cleanUpStaleExperiments();
128 129
129 if (InspectorFrontendHost.isUnderTest()) { 130 if (InspectorFrontendHost.isUnderTest()) {
130 var testPath = JSON.parse(prefs["testPath"] || "\"\""); 131 var testPath = JSON.parse(prefs["testPath"] || "\"\"");
(...skipping 986 matching lines...) Expand 10 before | Expand all | Expand 10 after
1117 * @return {?Element} 1118 * @return {?Element}
1118 */ 1119 */
1119 settingElement: function() 1120 settingElement: function()
1120 { 1121 {
1121 return WebInspector.SettingsUI.createSettingCheckbox(WebInspector.UIStri ng("Show rulers"), WebInspector.moduleSetting("showMetricsRulers")); 1122 return WebInspector.SettingsUI.createSettingCheckbox(WebInspector.UIStri ng("Show rulers"), WebInspector.moduleSetting("showMetricsRulers"));
1122 } 1123 }
1123 } 1124 }
1124 1125
1125 1126
1126 new WebInspector.Main(); 1127 new WebInspector.Main();
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698