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

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

Issue 813173002: [ServiceWorker] Cache inspector out from flag, style & icon changes (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Removed Experiment, added icon css Created 6 years 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 | Source/devtools/front_end/resources/IndexedDBViews.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 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
135 Runtime.experiments.register("applyCustomStylesheet", "Allow custom UI t hemes"); 135 Runtime.experiments.register("applyCustomStylesheet", "Allow custom UI t hemes");
136 Runtime.experiments.register("canvasInspection", "Canvas inspection"); 136 Runtime.experiments.register("canvasInspection", "Canvas inspection");
137 Runtime.experiments.register("devicesPanel", "Devices panel"); 137 Runtime.experiments.register("devicesPanel", "Devices panel");
138 Runtime.experiments.register("documentation", "Documentation for JS", tr ue); 138 Runtime.experiments.register("documentation", "Documentation for JS", tr ue);
139 Runtime.experiments.register("fileSystemInspection", "FileSystem inspect ion"); 139 Runtime.experiments.register("fileSystemInspection", "FileSystem inspect ion");
140 Runtime.experiments.register("gpuTimeline", "GPU data on timeline", true ); 140 Runtime.experiments.register("gpuTimeline", "GPU data on timeline", true );
141 Runtime.experiments.register("layersPanel", "Layers panel"); 141 Runtime.experiments.register("layersPanel", "Layers panel");
142 Runtime.experiments.register("privateScriptInspection", "Private script inspection"); 142 Runtime.experiments.register("privateScriptInspection", "Private script inspection");
143 Runtime.experiments.register("promiseTracker", "Promise inspector"); 143 Runtime.experiments.register("promiseTracker", "Promise inspector");
144 Runtime.experiments.register("requestTimingInNetworkTimeline", "Request timing directly in Network timeline", true); 144 Runtime.experiments.register("requestTimingInNetworkTimeline", "Request timing directly in Network timeline", true);
145 Runtime.experiments.register("serviceWorkerCacheInspection", "ServiceWor ker cache inspection", true);
146 Runtime.experiments.register("stepIntoAsync", "Step into async"); 145 Runtime.experiments.register("stepIntoAsync", "Step into async");
147 Runtime.experiments.register("timelineInvalidationTracking", "Timeline i nvalidation tracking"); 146 Runtime.experiments.register("timelineInvalidationTracking", "Timeline i nvalidation tracking");
148 Runtime.experiments.register("timelinePowerProfiler", "Timeline power pr ofiler"); 147 Runtime.experiments.register("timelinePowerProfiler", "Timeline power pr ofiler");
149 Runtime.experiments.cleanUpStaleExperiments(); 148 Runtime.experiments.cleanUpStaleExperiments();
150 149
151 if (InspectorFrontendHost.isUnderTest()) { 150 if (InspectorFrontendHost.isUnderTest()) {
152 // Enable experiments for testing. 151 // Enable experiments for testing.
153 var testPath = WebInspector.settings.testPath.get(); 152 var testPath = WebInspector.settings.testPath.get();
154 if (testPath.indexOf("timeline/") !== -1 || testPath.indexOf("layers /") !== -1) 153 if (testPath.indexOf("timeline/") !== -1 || testPath.indexOf("layers /") !== -1)
155 Runtime.experiments.enableForTest("layersPanel"); 154 Runtime.experiments.enableForTest("layersPanel");
(...skipping 761 matching lines...) Expand 10 before | Expand all | Expand 10 after
917 p.classList.add("help-section"); 916 p.classList.add("help-section");
918 p.textContent = WebInspector.UIString("Inspected worker has terminated. Once it restarts we will attach to it automatically."); 917 p.textContent = WebInspector.UIString("Inspected worker has terminated. Once it restarts we will attach to it automatically.");
919 } 918 }
920 919
921 WebInspector.WorkerTerminatedScreen.prototype = { 920 WebInspector.WorkerTerminatedScreen.prototype = {
922 921
923 __proto__: WebInspector.HelpScreen.prototype 922 __proto__: WebInspector.HelpScreen.prototype
924 } 923 }
925 924
926 new WebInspector.Main(); 925 new WebInspector.Main();
OLDNEW
« no previous file with comments | « no previous file | Source/devtools/front_end/resources/IndexedDBViews.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698