mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-08 04:27:37 +00:00
2bd9226493
The JSContext stack is an XPConnect construction. In particular, there are situations where we want to manipulate it outside the lifetime of nsContentUtils but within the lifetime of the stack itself. In order to do this cleanly, it's helpful to use private XPConnect APIs. So the first step here is to move this into js/src/xpconnect, so that we can take advantage of the stuff in xpcprivate.h. --HG-- rename : content/base/src/nsCxPusher.cpp => js/xpconnect/src/nsCxPusher.cpp rename : content/base/public/nsCxPusher.h => js/xpconnect/src/nsCxPusher.h
81 lines
2.0 KiB
Python
81 lines
2.0 KiB
Python
# -*- 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/.
|
|
|
|
XPIDL_SOURCES += [
|
|
'nsIContentPolicy.idl',
|
|
'nsIContentSecurityPolicy.idl',
|
|
'nsIDOMDataChannel.idl',
|
|
'nsIDOMFile.idl',
|
|
'nsIDOMFileList.idl',
|
|
'nsIDOMFileReader.idl',
|
|
'nsIDOMFormData.idl',
|
|
'nsIDOMParser.idl',
|
|
'nsIDOMSerializer.idl',
|
|
'nsIDocumentEncoder.idl',
|
|
'nsIDroppedLinkHandler.idl',
|
|
'nsIFrameLoader.idl',
|
|
'nsIImageLoadingContent.idl',
|
|
'nsIMessageManager.idl',
|
|
'nsIObjectLoadingContent.idl',
|
|
'nsIScriptLoaderObserver.idl',
|
|
'nsISelection.idl',
|
|
'nsISelectionController.idl',
|
|
'nsISelectionDisplay.idl',
|
|
'nsISelectionListener.idl',
|
|
'nsISelectionPrivate.idl',
|
|
'nsIXMLHttpRequest.idl',
|
|
]
|
|
|
|
XPIDL_MODULE = 'content_base'
|
|
|
|
MODULE = 'content'
|
|
|
|
EXPORTS += [
|
|
'mozFlushType.h',
|
|
'nsCaseTreatment.h',
|
|
'nsContentCID.h',
|
|
'nsContentCreatorFunctions.h',
|
|
'nsContentPolicyUtils.h',
|
|
'nsContentUtils.h',
|
|
'nsCopySupport.h',
|
|
'nsDOMFile.h',
|
|
'nsDeprecatedOperationList.h',
|
|
'nsDocElementCreatedNotificationRunner.h',
|
|
'nsHostObjectProtocolHandler.h',
|
|
'nsIAttribute.h',
|
|
'nsIContent.h',
|
|
'nsIContentIterator.h',
|
|
'nsIContentSerializer.h',
|
|
'nsIDocument.h',
|
|
'nsIDocumentInlines.h',
|
|
'nsIDocumentObserver.h',
|
|
'nsIMutationObserver.h',
|
|
'nsINameSpaceManager.h',
|
|
'nsINode.h',
|
|
'nsINodeInfo.h',
|
|
'nsINodeList.h',
|
|
'nsIScriptElement.h',
|
|
'nsIStyleSheetLinkingElement.h',
|
|
'nsIXPathEvaluatorInternal.h',
|
|
'nsLineBreaker.h',
|
|
'nsReferencedElement.h',
|
|
'nsTreeSanitizer.h',
|
|
'nsViewportInfo.h',
|
|
'nsXMLNameSpaceMap.h',
|
|
]
|
|
|
|
EXPORTS.mozilla.dom += [
|
|
'DirectionalityUtils.h',
|
|
'Element.h',
|
|
'FragmentOrElement.h',
|
|
'FromParser.h',
|
|
]
|
|
|
|
EXPORTS.mozilla += [
|
|
'CORSMode.h',
|
|
]
|
|
|