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

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

Issue 644493003: DevTools: Remove InspectorFrontendAPIImpl.prototype.loadCompleted() (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Removed obsolete code Created 6 years, 2 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
« no previous file with comments | « Source/devtools/front_end/host/InspectorFrontendHost.js ('k') | no next file » | 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 235 matching lines...) Expand 10 before | Expand all | Expand 10 after
246 WebInspector.dockController.initialize(); 246 WebInspector.dockController.initialize();
247 console.timeStamp("Main._presentUI"); 247 console.timeStamp("Main._presentUI");
248 WebInspector.app.presentUI(); 248 WebInspector.app.presentUI();
249 249
250 if (!WebInspector.isWorkerFrontend()) 250 if (!WebInspector.isWorkerFrontend())
251 WebInspector.inspectElementModeController = new WebInspector.Inspect ElementModeController(); 251 WebInspector.inspectElementModeController = new WebInspector.Inspect ElementModeController();
252 this._createGlobalStatusBarItems(); 252 this._createGlobalStatusBarItems();
253 253
254 WebInspector.extensionServerProxy.setFrontendReady(); 254 WebInspector.extensionServerProxy.setFrontendReady();
255 255
256 // FIXME: Remove once the upstream counterpart has landed.
257 InspectorFrontendAPI.loadCompleted();
258
259 InspectorFrontendHost.loadCompleted(); 256 InspectorFrontendHost.loadCompleted();
260 257
261 // Give UI cycles to repaint, then proceed with creating connection. 258 // Give UI cycles to repaint, then proceed with creating connection.
262 setTimeout(this._createConnection.bind(this), 0); 259 setTimeout(this._createConnection.bind(this), 0);
263 }, 260 },
264 261
265 _createConnection: function() 262 _createConnection: function()
266 { 263 {
267 console.timeStamp("Main._createConnection"); 264 console.timeStamp("Main._createConnection");
268 InspectorBackend.loadFromJSONIfNeeded("../protocol.json"); 265 InspectorBackend.loadFromJSONIfNeeded("../protocol.json");
(...skipping 600 matching lines...) Expand 10 before | Expand all | Expand 10 after
869 /** 866 /**
870 * @param {!WebInspector.Event} event 867 * @param {!WebInspector.Event} event
871 */ 868 */
872 _inspectNode: function(event) 869 _inspectNode: function(event)
873 { 870 {
874 WebInspector.Revealer.reveal(/** @type {!WebInspector.DOMNode} */ (event .data)); 871 WebInspector.Revealer.reveal(/** @type {!WebInspector.DOMNode} */ (event .data));
875 } 872 }
876 } 873 }
877 874
878 new WebInspector.Main(); 875 new WebInspector.Main();
OLDNEW
« no previous file with comments | « Source/devtools/front_end/host/InspectorFrontendHost.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698