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

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

Issue 1450133003: [DevTools] Promote Device Mode v2 to default experiments. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: tweaks 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 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 150 matching lines...) Expand 10 before | Expand all | Expand 10 after
161 Runtime.experiments.enableForTest("animationInspection"); 161 Runtime.experiments.enableForTest("animationInspection");
162 if (testPath.indexOf("layers/") !== -1) 162 if (testPath.indexOf("layers/") !== -1)
163 Runtime.experiments.enableForTest("layersPanel"); 163 Runtime.experiments.enableForTest("layersPanel");
164 if (testPath.indexOf("timeline/") !== -1 || testPath.indexOf("layers /") !== -1) 164 if (testPath.indexOf("timeline/") !== -1 || testPath.indexOf("layers /") !== -1)
165 Runtime.experiments.enableForTest("layersPanel"); 165 Runtime.experiments.enableForTest("layersPanel");
166 if (testPath.indexOf("security/") !== -1) 166 if (testPath.indexOf("security/") !== -1)
167 Runtime.experiments.enableForTest("securityPanel"); 167 Runtime.experiments.enableForTest("securityPanel");
168 } 168 }
169 169
170 Runtime.experiments.setDefaultExperiments([ 170 Runtime.experiments.setDefaultExperiments([
171 "deviceMode",
171 "securityPanel" 172 "securityPanel"
172 ]); 173 ]);
173 }, 174 },
174 175
175 /** 176 /**
176 * @suppressGlobalPropertiesCheck 177 * @suppressGlobalPropertiesCheck
177 */ 178 */
178 _createAppUI: function() 179 _createAppUI: function()
179 { 180 {
180 console.timeStamp("Main._createApp"); 181 console.timeStamp("Main._createApp");
(...skipping 903 matching lines...) Expand 10 before | Expand all | Expand 10 after
1084 */ 1085 */
1085 willHide: function() 1086 willHide: function()
1086 { 1087 {
1087 this._hideCallback.call(null); 1088 this._hideCallback.call(null);
1088 }, 1089 },
1089 1090
1090 __proto__: WebInspector.VBox.prototype 1091 __proto__: WebInspector.VBox.prototype
1091 } 1092 }
1092 1093
1093 new WebInspector.Main(); 1094 new WebInspector.Main();
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698