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

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

Issue 2744553003: DevTools: enable persistence2.0 experiment by default (Closed)
Patch Set: rebaseline Created 3 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/devtools/front_end/settings/SettingsScreen.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
129 if (testPath.indexOf('coverage') !== -1) 129 if (testPath.indexOf('coverage') !== -1)
130 Runtime.experiments.enableForTest('cssTrackerPanel'); 130 Runtime.experiments.enableForTest('cssTrackerPanel');
131 if (testPath.indexOf('audits2/') !== -1) 131 if (testPath.indexOf('audits2/') !== -1)
132 Runtime.experiments.enableForTest('audits2'); 132 Runtime.experiments.enableForTest('audits2');
133 if (testPath.indexOf('help/') !== -1) 133 if (testPath.indexOf('help/') !== -1)
134 Runtime.experiments.enableForTest('releaseNote'); 134 Runtime.experiments.enableForTest('releaseNote');
135 if (testPath.indexOf('sass/') !== -1) 135 if (testPath.indexOf('sass/') !== -1)
136 Runtime.experiments.enableForTest('liveSASS'); 136 Runtime.experiments.enableForTest('liveSASS');
137 } 137 }
138 138
139 Runtime.experiments.setDefaultExperiments(['persistenceValidation']); 139 Runtime.experiments.setDefaultExperiments(['persistenceValidation', 'persist ence2']);
140 } 140 }
141 141
142 /** 142 /**
143 * @suppressGlobalPropertiesCheck 143 * @suppressGlobalPropertiesCheck
144 */ 144 */
145 _createAppUI() { 145 _createAppUI() {
146 console.time('Main._createAppUI'); 146 console.time('Main._createAppUI');
147 147
148 UI.viewManager = new UI.ViewManager(); 148 UI.viewManager = new UI.ViewManager();
149 149
(...skipping 803 matching lines...) Expand 10 before | Expand all | Expand 10 after
953 * @override 953 * @override
954 * @return {?Element} 954 * @return {?Element}
955 */ 955 */
956 settingElement() { 956 settingElement() {
957 return UI.SettingsUI.createSettingCheckbox( 957 return UI.SettingsUI.createSettingCheckbox(
958 Common.UIString('Show rulers'), Common.moduleSetting('showMetricsRulers' )); 958 Common.UIString('Show rulers'), Common.moduleSetting('showMetricsRulers' ));
959 } 959 }
960 }; 960 };
961 961
962 new Main.Main(); 962 new Main.Main();
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/devtools/front_end/settings/SettingsScreen.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698