OLD | NEW |
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 Loading... |
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 Loading... |
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; |
OLD | NEW |