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

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

Issue 1073863003: DevTools: remove Canvas profiler from DevTools source base. See details in the bug. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: tests gone Created 5 years, 8 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 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
130 WebInspector.settings.pauseOnExceptionStateString = new WebInspector.Pau seOnExceptionStateSetting(); 130 WebInspector.settings.pauseOnExceptionStateString = new WebInspector.Pau seOnExceptionStateSetting();
131 new WebInspector.VersionController().updateVersion(); 131 new WebInspector.VersionController().updateVersion();
132 }, 132 },
133 133
134 _initializeExperiments: function() 134 _initializeExperiments: function()
135 { 135 {
136 Runtime.experiments.register("accessibilityInspection", "Accessibility I nspection", true); 136 Runtime.experiments.register("accessibilityInspection", "Accessibility I nspection", true);
137 Runtime.experiments.register("animationInspection", "Animation Inspectio n"); 137 Runtime.experiments.register("animationInspection", "Animation Inspectio n");
138 Runtime.experiments.register("applyCustomStylesheet", "Allow custom UI t hemes"); 138 Runtime.experiments.register("applyCustomStylesheet", "Allow custom UI t hemes");
139 Runtime.experiments.register("blackboxJSFramesOnTimeline", "Blackbox Jav aScript frames on Timeline"); 139 Runtime.experiments.register("blackboxJSFramesOnTimeline", "Blackbox Jav aScript frames on Timeline");
140 Runtime.experiments.register("canvasInspection", "Canvas inspection");
141 Runtime.experiments.register("timelineDetailsChart", "Costly functions v iew in Timeline details", true); 140 Runtime.experiments.register("timelineDetailsChart", "Costly functions v iew in Timeline details", true);
142 Runtime.experiments.register("customObjectFormatters", "Custom object fo rmatters", true); 141 Runtime.experiments.register("customObjectFormatters", "Custom object fo rmatters", true);
143 Runtime.experiments.register("externalDeviceList", "External device list ", true); 142 Runtime.experiments.register("externalDeviceList", "External device list ", true);
144 Runtime.experiments.register("fileSystemInspection", "FileSystem inspect ion"); 143 Runtime.experiments.register("fileSystemInspection", "FileSystem inspect ion");
145 Runtime.experiments.register("gpuTimeline", "GPU data on timeline", true ); 144 Runtime.experiments.register("gpuTimeline", "GPU data on timeline", true );
146 Runtime.experiments.register("inputEventsOnTimelineOverview", "Input eve nts on Timeline overview", true) 145 Runtime.experiments.register("inputEventsOnTimelineOverview", "Input eve nts on Timeline overview", true)
147 Runtime.experiments.register("layersPanel", "Layers panel"); 146 Runtime.experiments.register("layersPanel", "Layers panel");
148 Runtime.experiments.register("networkRequestHeadersFilterInDetailsView", "Network request headers filter in details view", true); 147 Runtime.experiments.register("networkRequestHeadersFilterInDetailsView", "Network request headers filter in details view", true);
149 Runtime.experiments.register("networkRequestsOnTimeline", "Network reque sts on Timeline"); 148 Runtime.experiments.register("networkRequestsOnTimeline", "Network reque sts on Timeline");
150 Runtime.experiments.register("privateScriptInspection", "Private script inspection"); 149 Runtime.experiments.register("privateScriptInspection", "Private script inspection");
(...skipping 747 matching lines...) Expand 10 before | Expand all | Expand 10 after
898 _settingChanged: function(event) 897 _settingChanged: function(event)
899 { 898 {
900 var value = this._setting.get(); 899 var value = this._setting.get();
901 var targets = WebInspector.OverridesSupport.targetsSupportingEmulation() ; 900 var targets = WebInspector.OverridesSupport.targetsSupportingEmulation() ;
902 for (var i = 0; i < targets.length; ++i) 901 for (var i = 0; i < targets.length; ++i)
903 targets[i].emulationAgent().setScriptExecutionDisabled(value); 902 targets[i].emulationAgent().setScriptExecutionDisabled(value);
904 } 903 }
905 } 904 }
906 905
907 new WebInspector.Main(); 906 new WebInspector.Main();
OLDNEW
« no previous file with comments | « Source/devtools/front_end/common/Settings.js ('k') | Source/devtools/front_end/profiler/CanvasProfileView.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698