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

Side by Side Diff: Source/devtools/front_end/inspector.js

Issue 104433004: Enable VM service inside Dartium Renderer processes (Closed) Base URL: svn://svn.chromium.org/multivm/branches/1650/blink
Patch Set: Created 7 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 | 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 27 matching lines...) Expand all
38 WebInspector.inspectorView.addEventListener(WebInspector.InspectorView.E vents.PanelSelected, this._panelSelected, this); 38 WebInspector.inspectorView.addEventListener(WebInspector.InspectorView.E vents.PanelSelected, this._panelSelected, this);
39 39
40 var elements = new WebInspector.ElementsPanelDescriptor(); 40 var elements = new WebInspector.ElementsPanelDescriptor();
41 var resources = new WebInspector.PanelDescriptor("resources", WebInspect or.UIString("Resources"), "ResourcesPanel", "ResourcesPanel.js"); 41 var resources = new WebInspector.PanelDescriptor("resources", WebInspect or.UIString("Resources"), "ResourcesPanel", "ResourcesPanel.js");
42 var network = new WebInspector.NetworkPanelDescriptor(); 42 var network = new WebInspector.NetworkPanelDescriptor();
43 var sources = new WebInspector.SourcesPanelDescriptor(); 43 var sources = new WebInspector.SourcesPanelDescriptor();
44 var timeline = new WebInspector.TimelinePanelDescriptor(); 44 var timeline = new WebInspector.TimelinePanelDescriptor();
45 var profiles = new WebInspector.ProfilesPanelDescriptor(); 45 var profiles = new WebInspector.ProfilesPanelDescriptor();
46 var audits = new WebInspector.PanelDescriptor("audits", WebInspector.UIS tring("Audits"), "AuditsPanel", "AuditsPanel.js"); 46 var audits = new WebInspector.PanelDescriptor("audits", WebInspector.UIS tring("Audits"), "AuditsPanel", "AuditsPanel.js");
47 var console = new WebInspector.PanelDescriptor("console", WebInspector.U IString("Console"), "ConsolePanel"); 47 var console = new WebInspector.PanelDescriptor("console", WebInspector.U IString("Console"), "ConsolePanel");
48 /*
49 var dartObservatory = new WebInspector.PanelDescriptor("observatory", We bInspector.UIString("DartObservatory"), undefined, undefined,
50 new WebInspector.DartPanel("observatory", "http://localhost:8887/") );
51 var allDescriptors = [elements, resources, network, sources, timeline, p rofiles, audits, console, dartObservatory];
52 */
48 var allDescriptors = [elements, resources, network, sources, timeline, p rofiles, audits, console]; 53 var allDescriptors = [elements, resources, network, sources, timeline, p rofiles, audits, console];
49 if (WebInspector.experimentsSettings.layersPanel.isEnabled()) { 54 if (WebInspector.experimentsSettings.layersPanel.isEnabled()) {
50 var layers = new WebInspector.LayersPanelDescriptor(); 55 var layers = new WebInspector.LayersPanelDescriptor();
51 allDescriptors.push(layers); 56 allDescriptors.push(layers);
52 } 57 }
53 var allProfilers = [profiles]; 58 var allProfilers = [profiles];
54 if (WebInspector.experimentsSettings.customizableToolbar.isEnabled()) { 59 if (WebInspector.experimentsSettings.customizableToolbar.isEnabled()) {
55 allProfilers = []; 60 allProfilers = [];
56 allProfilers.push(new WebInspector.PanelDescriptor("cpu-profiler", W ebInspector.UIString("CPU Profiler"), "CPUProfilerPanel", "ProfilesPanel.js")); 61 allProfilers.push(new WebInspector.PanelDescriptor("cpu-profiler", W ebInspector.UIString("CPU Profiler"), "CPUProfilerPanel", "ProfilesPanel.js"));
57 if (!WebInspector.WorkerManager.isWorkerFrontend()) 62 if (!WebInspector.WorkerManager.isWorkerFrontend())
(...skipping 1066 matching lines...) Expand 10 before | Expand all | Expand 10 after
1124 1129
1125 /** 1130 /**
1126 * @return {string} 1131 * @return {string}
1127 */ 1132 */
1128 WebInspector.getSelectionForegroundColor = function() 1133 WebInspector.getSelectionForegroundColor = function()
1129 { 1134 {
1130 return InspectorFrontendHost.getSelectionForegroundColor(); 1135 return InspectorFrontendHost.getSelectionForegroundColor();
1131 } 1136 }
1132 1137
1133 window.DEBUG = true; 1138 window.DEBUG = true;
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698