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

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

Issue 1300743002: DevTools: render DOM markers with their colors (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 4 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 | Annotate | Revision Log
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 152 matching lines...) Expand 10 before | Expand all | Expand 10 after
163 if (testPath.indexOf("layers/") !== -1) 163 if (testPath.indexOf("layers/") !== -1)
164 Runtime.experiments.enableForTest("layersPanel"); 164 Runtime.experiments.enableForTest("layersPanel");
165 if (testPath.indexOf("service-workers/") !== -1) 165 if (testPath.indexOf("service-workers/") !== -1)
166 Runtime.experiments.enableForTest("serviceWorkersInResources"); 166 Runtime.experiments.enableForTest("serviceWorkersInResources");
167 if (testPath.indexOf("timeline/") !== -1 || testPath.indexOf("layers /") !== -1) 167 if (testPath.indexOf("timeline/") !== -1 || testPath.indexOf("layers /") !== -1)
168 Runtime.experiments.enableForTest("layersPanel"); 168 Runtime.experiments.enableForTest("layersPanel");
169 } 169 }
170 170
171 Runtime.experiments.setDefaultExperiments([ 171 Runtime.experiments.setDefaultExperiments([
172 "inlineVariableValues", 172 "inlineVariableValues",
173 "tooltips",
dgozman 2015/08/18 18:35:21 Please revert, there is a separate patch.
pfeldman 2015/08/18 18:40:05 Done. It was an accident.
173 "serviceWorkersInPageFrontend" 174 "serviceWorkersInPageFrontend"
174 ]); 175 ]);
175 }, 176 },
176 177
177 /** 178 /**
178 * @suppressGlobalPropertiesCheck 179 * @suppressGlobalPropertiesCheck
179 */ 180 */
180 _createAppUI: function() 181 _createAppUI: function()
181 { 182 {
182 console.timeStamp("Main._createApp"); 183 console.timeStamp("Main._createApp");
(...skipping 758 matching lines...) Expand 10 before | Expand all | Expand 10 after
941 p.classList.add("help-section"); 942 p.classList.add("help-section");
942 p.textContent = WebInspector.UIString("Inspected worker has terminated. Once it restarts we will attach to it automatically."); 943 p.textContent = WebInspector.UIString("Inspected worker has terminated. Once it restarts we will attach to it automatically.");
943 } 944 }
944 945
945 WebInspector.WorkerTerminatedScreen.prototype = { 946 WebInspector.WorkerTerminatedScreen.prototype = {
946 947
947 __proto__: WebInspector.HelpScreen.prototype 948 __proto__: WebInspector.HelpScreen.prototype
948 } 949 }
949 950
950 new WebInspector.Main(); 951 new WebInspector.Main();
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698