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

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

Issue 1641513003: [DevTools] Split DeviceModeView.js into view, toolbar and wrapper. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@device-mode-cleanup-remove-files
Patch Set: Created 4 years, 10 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 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 new WebInspector.VersionController().updateVersion(); 97 new WebInspector.VersionController().updateVersion();
98 }, 98 },
99 99
100 /** 100 /**
101 * @param {!Object<string, string>} prefs 101 * @param {!Object<string, string>} prefs
102 */ 102 */
103 _initializeExperiments: function(prefs) 103 _initializeExperiments: function(prefs)
104 { 104 {
105 Runtime.experiments.register("accessibilityInspection", "Accessibility I nspection"); 105 Runtime.experiments.register("accessibilityInspection", "Accessibility I nspection");
106 Runtime.experiments.register("applyCustomStylesheet", "Allow custom UI t hemes"); 106 Runtime.experiments.register("applyCustomStylesheet", "Allow custom UI t hemes");
107 Runtime.experiments.register("appBanner", "App banner support", true);
107 Runtime.experiments.register("blackboxJSFramesOnTimeline", "Blackbox Jav aScript frames on Timeline", true); 108 Runtime.experiments.register("blackboxJSFramesOnTimeline", "Blackbox Jav aScript frames on Timeline", true);
108 Runtime.experiments.register("colorContrastRatio", "Contrast ratio line in color picker", true); 109 Runtime.experiments.register("colorContrastRatio", "Contrast ratio line in color picker", true);
109 Runtime.experiments.register("cpuThrottling", "CPU throttling", true); 110 Runtime.experiments.register("cpuThrottling", "CPU throttling", true);
110 Runtime.experiments.register("emptySourceMapAutoStepping", "Empty source map auto-stepping"); 111 Runtime.experiments.register("emptySourceMapAutoStepping", "Empty source map auto-stepping");
111 Runtime.experiments.register("fileSystemInspection", "FileSystem inspect ion"); 112 Runtime.experiments.register("fileSystemInspection", "FileSystem inspect ion");
112 Runtime.experiments.register("gpuTimeline", "GPU data on timeline", true ); 113 Runtime.experiments.register("gpuTimeline", "GPU data on timeline", true );
113 Runtime.experiments.register("inputEventsOnTimelineOverview", "Input eve nts on Timeline overview", true); 114 Runtime.experiments.register("inputEventsOnTimelineOverview", "Input eve nts on Timeline overview", true);
114 Runtime.experiments.register("layersPanel", "Layers panel"); 115 Runtime.experiments.register("layersPanel", "Layers panel");
115 Runtime.experiments.register("layoutEditor", "Layout editor", true); 116 Runtime.experiments.register("layoutEditor", "Layout editor", true);
116 Runtime.experiments.register("materialDesign", "Material design"); 117 Runtime.experiments.register("materialDesign", "Material design");
(...skipping 965 matching lines...) Expand 10 before | Expand all | Expand 10 after
1082 */ 1083 */
1083 willHide: function() 1084 willHide: function()
1084 { 1085 {
1085 this._hideCallback.call(null); 1086 this._hideCallback.call(null);
1086 }, 1087 },
1087 1088
1088 __proto__: WebInspector.VBox.prototype 1089 __proto__: WebInspector.VBox.prototype
1089 } 1090 }
1090 1091
1091 new WebInspector.Main(); 1092 new WebInspector.Main();
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698