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

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

Issue 71633003: DevTools: added "overlayContents" mode, where DevTools content is placed around and underneath inse… (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase 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
« no previous file with comments | « Source/devtools/front_end/inspector.css ('k') | Source/devtools/front_end/inspectorCommon.css » ('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 316 matching lines...) Expand 10 before | Expand all | Expand 10 after
327 WebInspector._doLoadedDoneWithCapabilities(); 327 WebInspector._doLoadedDoneWithCapabilities();
328 } 328 }
329 } 329 }
330 330
331 WebInspector.doLoadedDone = function() 331 WebInspector.doLoadedDone = function()
332 { 332 {
333 // Install styles and themes 333 // Install styles and themes
334 WebInspector.installPortStyles(); 334 WebInspector.installPortStyles();
335 if (WebInspector.socket) 335 if (WebInspector.socket)
336 document.body.classList.add("remote"); 336 document.body.classList.add("remote");
337 if (WebInspector.queryParamsObject["overlayContents"])
338 document.body.classList.add("overlay-contents");
337 339
338 if (WebInspector.queryParamsObject.toolbarColor && WebInspector.queryParamsO bject.textColor) 340 if (WebInspector.queryParamsObject.toolbarColor && WebInspector.queryParamsO bject.textColor)
339 WebInspector.setToolbarColors(WebInspector.queryParamsObject.toolbarColo r, WebInspector.queryParamsObject.textColor); 341 WebInspector.setToolbarColors(WebInspector.queryParamsObject.toolbarColo r, WebInspector.queryParamsObject.textColor);
340 342
341 WebInspector.WorkerManager.loaded(); 343 WebInspector.WorkerManager.loaded();
342 344
343 PageAgent.canScreencast(WebInspector._initializeCapability.bind(WebInspector , "canScreencast", null)); 345 PageAgent.canScreencast(WebInspector._initializeCapability.bind(WebInspector , "canScreencast", null));
344 WorkerAgent.canInspectWorkers(WebInspector._initializeCapability.bind(WebIns pector, "canInspectWorkers", WebInspector._doLoadedDoneWithCapabilities.bind(Web Inspector))); 346 WorkerAgent.canInspectWorkers(WebInspector._initializeCapability.bind(WebIns pector, "canInspectWorkers", WebInspector._doLoadedDoneWithCapabilities.bind(Web Inspector)));
345 } 347 }
346 348
(...skipping 665 matching lines...) Expand 10 before | Expand all | Expand 10 after
1012 1014
1013 /** 1015 /**
1014 * @return {string} 1016 * @return {string}
1015 */ 1017 */
1016 WebInspector.getSelectionForegroundColor = function() 1018 WebInspector.getSelectionForegroundColor = function()
1017 { 1019 {
1018 return InspectorFrontendHost.getSelectionForegroundColor(); 1020 return InspectorFrontendHost.getSelectionForegroundColor();
1019 } 1021 }
1020 1022
1021 window.DEBUG = true; 1023 window.DEBUG = true;
OLDNEW
« no previous file with comments | « Source/devtools/front_end/inspector.css ('k') | Source/devtools/front_end/inspectorCommon.css » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698