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

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

Issue 1471693003: Revert of DevTools: Add dark theme hidden experiment (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/WebKit/Source/devtools/front_end/inspectorStyle.css ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/devtools/front_end/main/Main.js
diff --git a/third_party/WebKit/Source/devtools/front_end/main/Main.js b/third_party/WebKit/Source/devtools/front_end/main/Main.js
index 92d133a10b7373fe7c1a1ba912c393af396c5014..1a9a6fb7781f0f282488d051176311b9bc50f182 100644
--- a/third_party/WebKit/Source/devtools/front_end/main/Main.js
+++ b/third_party/WebKit/Source/devtools/front_end/main/Main.js
@@ -107,7 +107,6 @@
Runtime.experiments.register("applyCustomStylesheet", "Allow custom UI themes");
Runtime.experiments.register("blackboxJSFramesOnTimeline", "Blackbox JavaScript frames on Timeline", true);
Runtime.experiments.register("colorContrastRatio", "Contrast ratio line in color picker", true);
- Runtime.experiments.register("darkTheme", "Dark theme", true);
Runtime.experiments.register("deviceMode", "Device mode", true);
Runtime.experiments.register("emptySourceMapAutoStepping", "Empty sourcemap auto-stepping");
Runtime.experiments.register("fileSystemInspection", "FileSystem inspection");
@@ -168,9 +167,6 @@
WebInspector.initializeUIUtils(window);
WebInspector.installComponentRootStyles(/** @type {!Element} */ (document.body));
- if (Runtime.experiments.isEnabled("darkTheme")) {
- document.body.classList.add("dark-theme");
- }
this._addMainEventListeners(document);
« no previous file with comments | « third_party/WebKit/Source/devtools/front_end/inspectorStyle.css ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698