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

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

Issue 675753002: [DevTools] Drop "ui" module from toolbox. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebased Created 6 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 | Annotate | Revision Log
« no previous file with comments | « Source/devtools/front_end/main/App.js ('k') | Source/devtools/front_end/main/ScreencastApp.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 245 matching lines...) Expand 10 before | Expand all | Expand 10 after
256 if (canDock) 256 if (canDock)
257 WebInspector.app = new WebInspector.AdvancedApp(); 257 WebInspector.app = new WebInspector.AdvancedApp();
258 else if (Runtime.queryParam("remoteFrontend")) 258 else if (Runtime.queryParam("remoteFrontend"))
259 WebInspector.app = new WebInspector.ScreencastApp(); 259 WebInspector.app = new WebInspector.ScreencastApp();
260 else 260 else
261 WebInspector.app = new WebInspector.SimpleApp(); 261 WebInspector.app = new WebInspector.SimpleApp();
262 262
263 // It is important to kick controller lifetime after apps are instantiat ed. 263 // It is important to kick controller lifetime after apps are instantiat ed.
264 WebInspector.dockController.initialize(); 264 WebInspector.dockController.initialize();
265 console.timeStamp("Main._presentUI"); 265 console.timeStamp("Main._presentUI");
266 WebInspector.app.presentUI(); 266 WebInspector.app.presentUI(document);
267 267
268 if (!WebInspector.isWorkerFrontend()) 268 if (!WebInspector.isWorkerFrontend())
269 WebInspector.inspectElementModeController = new WebInspector.Inspect ElementModeController(); 269 WebInspector.inspectElementModeController = new WebInspector.Inspect ElementModeController();
270 this._createGlobalStatusBarItems(); 270 this._createGlobalStatusBarItems();
271 271
272 InspectorFrontendHost.loadCompleted(); 272 InspectorFrontendHost.loadCompleted();
273 273
274 // Give UI cycles to repaint, then proceed with creating connection. 274 // Give UI cycles to repaint, then proceed with creating connection.
275 setTimeout(this._createConnection.bind(this), 0); 275 setTimeout(this._createConnection.bind(this), 0);
276 }, 276 },
(...skipping 617 matching lines...) Expand 10 before | Expand all | Expand 10 after
894 /** 894 /**
895 * @param {!WebInspector.Event} event 895 * @param {!WebInspector.Event} event
896 */ 896 */
897 _inspectNode: function(event) 897 _inspectNode: function(event)
898 { 898 {
899 WebInspector.Revealer.reveal(/** @type {!WebInspector.DOMNode} */ (event .data)); 899 WebInspector.Revealer.reveal(/** @type {!WebInspector.DOMNode} */ (event .data));
900 } 900 }
901 } 901 }
902 902
903 new WebInspector.Main(); 903 new WebInspector.Main();
OLDNEW
« no previous file with comments | « Source/devtools/front_end/main/App.js ('k') | Source/devtools/front_end/main/ScreencastApp.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698