mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 912121 - Create shims for popular DevTools themes in add-ons. rs=devtools
For popular themes used by many DevTools add-ons, add shim files which wrap the themes and make them available at their previous location.
This commit is contained in:
parent
beb6277e33
commit
f4fcee6074
@ -38,6 +38,10 @@ DIRS += [
|
||||
'webide',
|
||||
]
|
||||
|
||||
# Shim old theme paths used by DevTools add-ons
|
||||
if CONFIG['MOZ_BUILD_APP'] == 'browser':
|
||||
DIRS += ['themes/shims']
|
||||
|
||||
EXTRA_COMPONENTS += [
|
||||
'devtools-clhandler.js',
|
||||
'devtools-clhandler.manifest',
|
||||
|
10
devtools/client/themes/shims/common.css
Normal file
10
devtools/client/themes/shims/common.css
Normal file
@ -0,0 +1,10 @@
|
||||
/* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
/**
|
||||
* This file only exists to support add-ons which import this style sheet at a
|
||||
* specific path.
|
||||
*/
|
||||
|
||||
@import url("chrome://devtools/skin/themes/common.css");
|
6
devtools/client/themes/shims/jar.mn
Normal file
6
devtools/client/themes/shims/jar.mn
Normal file
@ -0,0 +1,6 @@
|
||||
# This Source Code Form is subject to the terms of the Mozilla Public
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
browser.jar:
|
||||
skin/classic/browser/devtools/common.css (common.css)
|
8
devtools/client/themes/shims/moz.build
Normal file
8
devtools/client/themes/shims/moz.build
Normal file
@ -0,0 +1,8 @@
|
||||
# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
|
||||
# vim: set filetype=python:
|
||||
# This Source Code Form is subject to the terms of the Mozilla Public
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
# Shim old theme paths used by DevTools add-ons
|
||||
JAR_MANIFESTS += ['jar.mn']
|
Loading…
Reference in New Issue
Block a user