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

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

Issue 1308563002: DevTools: allow editing custom color palette, move it out of experimental. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebaselined Created 5 years, 4 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 | Annotate | Revision Log
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 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
119 /** 119 /**
120 * @param {!Object<string, string>} prefs 120 * @param {!Object<string, string>} prefs
121 */ 121 */
122 _initializeExperiments: function(prefs) 122 _initializeExperiments: function(prefs)
123 { 123 {
124 Runtime.experiments.register("accessibilityInspection", "Accessibility I nspection"); 124 Runtime.experiments.register("accessibilityInspection", "Accessibility I nspection");
125 Runtime.experiments.register("animationInspection", "Animation Inspectio n"); 125 Runtime.experiments.register("animationInspection", "Animation Inspectio n");
126 Runtime.experiments.register("applyCustomStylesheet", "Allow custom UI t hemes"); 126 Runtime.experiments.register("applyCustomStylesheet", "Allow custom UI t hemes");
127 Runtime.experiments.register("blackboxJSFramesOnTimeline", "Blackbox Jav aScript frames on Timeline", true); 127 Runtime.experiments.register("blackboxJSFramesOnTimeline", "Blackbox Jav aScript frames on Timeline", true);
128 Runtime.experiments.register("colorContrastRatio", "Contrast ratio line in color picker", true); 128 Runtime.experiments.register("colorContrastRatio", "Contrast ratio line in color picker", true);
129 Runtime.experiments.register("colorPalettes", "Color palettes");
130 Runtime.experiments.register("customObjectFormatters", "Custom object fo rmatters", true); 129 Runtime.experiments.register("customObjectFormatters", "Custom object fo rmatters", true);
131 Runtime.experiments.register("emptySourceMapAutoStepping", "Empty source map auto-stepping"); 130 Runtime.experiments.register("emptySourceMapAutoStepping", "Empty source map auto-stepping");
132 Runtime.experiments.register("fileSystemInspection", "FileSystem inspect ion"); 131 Runtime.experiments.register("fileSystemInspection", "FileSystem inspect ion");
133 Runtime.experiments.register("gpuTimeline", "GPU data on timeline", true ); 132 Runtime.experiments.register("gpuTimeline", "GPU data on timeline", true );
134 Runtime.experiments.register("inputEventsOnTimelineOverview", "Input eve nts on Timeline overview", true); 133 Runtime.experiments.register("inputEventsOnTimelineOverview", "Input eve nts on Timeline overview", true);
135 Runtime.experiments.register("layersPanel", "Layers panel"); 134 Runtime.experiments.register("layersPanel", "Layers panel");
136 Runtime.experiments.register("layoutEditor", "Layout editor", true); 135 Runtime.experiments.register("layoutEditor", "Layout editor", true);
137 Runtime.experiments.register("materialDesign", "Material design"); 136 Runtime.experiments.register("materialDesign", "Material design");
138 Runtime.experiments.register("networkRequestHeadersFilterInDetailsView", "Network request headers filter in details view", true); 137 Runtime.experiments.register("networkRequestHeadersFilterInDetailsView", "Network request headers filter in details view", true);
139 Runtime.experiments.register("networkRequestsOnTimeline", "Network reque sts on Timeline", true); 138 Runtime.experiments.register("networkRequestsOnTimeline", "Network reque sts on Timeline", true);
(...skipping 794 matching lines...) Expand 10 before | Expand all | Expand 10 after
934 p.classList.add("help-section"); 933 p.classList.add("help-section");
935 p.textContent = WebInspector.UIString("Inspected worker has terminated. Once it restarts we will attach to it automatically."); 934 p.textContent = WebInspector.UIString("Inspected worker has terminated. Once it restarts we will attach to it automatically.");
936 } 935 }
937 936
938 WebInspector.WorkerTerminatedScreen.prototype = { 937 WebInspector.WorkerTerminatedScreen.prototype = {
939 938
940 __proto__: WebInspector.HelpScreen.prototype 939 __proto__: WebInspector.HelpScreen.prototype
941 } 940 }
942 941
943 new WebInspector.Main(); 942 new WebInspector.Main();
OLDNEW
« no previous file with comments | « Source/devtools/front_end/elements/spectrum.css ('k') | Source/devtools/front_end/ui/Tooltip.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698