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

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

Issue 2773583002: [DevTools] Introduce a sidebar with a drop-down
Patch Set: [DevTools] Introduce a sidebar with a drop-down Created 3 years, 9 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 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 _initializeExperiments(prefs) { 92 _initializeExperiments(prefs) {
93 Runtime.experiments.register('accessibilityInspection', 'Accessibility Inspe ction'); 93 Runtime.experiments.register('accessibilityInspection', 'Accessibility Inspe ction');
94 Runtime.experiments.register('applyCustomStylesheet', 'Allow custom UI theme s'); 94 Runtime.experiments.register('applyCustomStylesheet', 'Allow custom UI theme s');
95 Runtime.experiments.register('audits2', 'Audits 2.0', true); 95 Runtime.experiments.register('audits2', 'Audits 2.0', true);
96 Runtime.experiments.register('autoAttachToCrossProcessSubframes', 'Auto-atta ch to cross-process subframes', true); 96 Runtime.experiments.register('autoAttachToCrossProcessSubframes', 'Auto-atta ch to cross-process subframes', true);
97 Runtime.experiments.register('blackboxJSFramesOnTimeline', 'Blackbox JavaScr ipt frames on Timeline', true); 97 Runtime.experiments.register('blackboxJSFramesOnTimeline', 'Blackbox JavaScr ipt frames on Timeline', true);
98 Runtime.experiments.register('continueToLocationMarkers', 'Continue to locat ion markers', true); 98 Runtime.experiments.register('continueToLocationMarkers', 'Continue to locat ion markers', true);
99 Runtime.experiments.register('colorContrastRatio', 'Contrast ratio line in c olor picker', true); 99 Runtime.experiments.register('colorContrastRatio', 'Contrast ratio line in c olor picker', true);
100 Runtime.experiments.register('cssTrackerPanel', 'Coverage support'); 100 Runtime.experiments.register('cssTrackerPanel', 'Coverage support');
101 Runtime.experiments.register('emptySourceMapAutoStepping', 'Empty sourcemap auto-stepping'); 101 Runtime.experiments.register('emptySourceMapAutoStepping', 'Empty sourcemap auto-stepping');
102 Runtime.experiments.register('framesSelectorAppPanel', 'Show frames selector on the Application panel', true);
dgozman 2017/03/24 17:06:54 Sort alphabetically by title. And by id at the sam
eostroukhov 2017/04/04 23:47:17 Done :)
102 Runtime.experiments.register('inputEventsOnTimelineOverview', 'Input events on Timeline overview', true); 103 Runtime.experiments.register('inputEventsOnTimelineOverview', 'Input events on Timeline overview', true);
103 Runtime.experiments.register('liveSASS', 'Live SASS'); 104 Runtime.experiments.register('liveSASS', 'Live SASS');
104 Runtime.experiments.register('networkGroupingRequests', 'Network request gro ups support', true); 105 Runtime.experiments.register('networkGroupingRequests', 'Network request gro ups support', true);
105 Runtime.experiments.register('objectPreviews', 'Object previews', true); 106 Runtime.experiments.register('objectPreviews', 'Object previews', true);
106 Runtime.experiments.register('persistence2', 'Persistence 2.0'); 107 Runtime.experiments.register('persistence2', 'Persistence 2.0');
107 Runtime.experiments.register('persistenceValidation', 'Validate persistence bindings'); 108 Runtime.experiments.register('persistenceValidation', 'Validate persistence bindings');
108 Runtime.experiments.register('releaseNote', 'Release note', true); 109 Runtime.experiments.register('releaseNote', 'Release note', true);
109 Runtime.experiments.register('requestBlocking', 'Request blocking', true); 110 Runtime.experiments.register('requestBlocking', 'Request blocking', true);
110 Runtime.experiments.register('timelineShowAllEvents', 'Show all events on Ti meline', true); 111 Runtime.experiments.register('timelineShowAllEvents', 'Show all events on Ti meline', true);
111 Runtime.experiments.register('timelineShowAllProcesses', 'Show all processes on Timeline', true); 112 Runtime.experiments.register('timelineShowAllProcesses', 'Show all processes on Timeline', true);
(...skipping 841 matching lines...) Expand 10 before | Expand all | Expand 10 after
953 * @override 954 * @override
954 * @return {?Element} 955 * @return {?Element}
955 */ 956 */
956 settingElement() { 957 settingElement() {
957 return UI.SettingsUI.createSettingCheckbox( 958 return UI.SettingsUI.createSettingCheckbox(
958 Common.UIString('Show rulers'), Common.moduleSetting('showMetricsRulers' )); 959 Common.UIString('Show rulers'), Common.moduleSetting('showMetricsRulers' ));
959 } 960 }
960 }; 961 };
961 962
962 new Main.Main(); 963 new Main.Main();
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698