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

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

Issue 2195113002: DevTools: improve UX for hosted mode + fix bug (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: minor fixes / formating Created 4 years, 4 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/devtools/scripts/hosted_mode/server.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 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // Preload protocol resources for hosted mode. 5 Runtime.startApplication("inspector");
6 if (!/** @type {?Object} */(window.InspectorFrontendHost)) {
7 Promise.all([
8 Runtime.loadResourceIntoCache("./sdk/protocol/browser_protocol.json", fa lse /* appendSourceURL */),
9 Runtime.loadResourceIntoCache("./sdk/protocol/js_protocol.json", false / * appendSourceURL */)
10 ]).then(() => Runtime.startApplication("inspector"));
11 } else {
12 Runtime.startApplication("inspector");
13 }
14
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/devtools/scripts/hosted_mode/server.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698