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

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: 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
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. 256 // FIXME: Is this used at all?
pfeldman 2014/10/13 09:03:36 Nuke.
apavlov 2014/10/13 09:21:28 Done.
257 InspectorFrontendAPI.loadCompleted(); 257 // Moved from InspectorFrontendAPIImpl.prototype.loadCompleted().
258 if (window.opener)
259 window.opener.postMessage(["loadCompleted"], "*");
258 260
259 InspectorFrontendHost.loadCompleted(); 261 InspectorFrontendHost.loadCompleted();
260 262
261 // Give UI cycles to repaint, then proceed with creating connection. 263 // Give UI cycles to repaint, then proceed with creating connection.
262 setTimeout(this._createConnection.bind(this), 0); 264 setTimeout(this._createConnection.bind(this), 0);
263 }, 265 },
264 266
265 _createConnection: function() 267 _createConnection: function()
266 { 268 {
267 console.timeStamp("Main._createConnection"); 269 console.timeStamp("Main._createConnection");
(...skipping 601 matching lines...) Expand 10 before | Expand all | Expand 10 after
869 /** 871 /**
870 * @param {!WebInspector.Event} event 872 * @param {!WebInspector.Event} event
871 */ 873 */
872 _inspectNode: function(event) 874 _inspectNode: function(event)
873 { 875 {
874 WebInspector.Revealer.reveal(/** @type {!WebInspector.DOMNode} */ (event .data)); 876 WebInspector.Revealer.reveal(/** @type {!WebInspector.DOMNode} */ (event .data));
875 } 877 }
876 } 878 }
877 879
878 new WebInspector.Main(); 880 new WebInspector.Main();
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698