/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /* 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/. */
class nsPIDOMWindowOuter; class nsIPrefBranch; class nsIURL;
// The chrome registry is actually split between nsChromeRegistryChrome and // nsChromeRegistryContent. The work/data that is common to both resides in // the shared nsChromeRegistry implementation, with operations that only make // sense for one side erroring out in the other.
// This method can change its parameter, so due to thread safety issues // it should only be called for nsCOMPtr<nsIURI> that is on the stack, // unless you know what you are doing. static nsresult Canonify(nsCOMPtr<nsIURI>& aChromeURL);
virtualvoid ManifestContent(ManifestProcessingContext& cx, int lineno, char* const* argv, int flags) = 0; virtualvoid ManifestLocale(ManifestProcessingContext& cx, int lineno, char* const* argv, int flags) = 0; virtualvoid ManifestSkin(ManifestProcessingContext& cx, int lineno, char* const* argv, int flags) = 0; virtualvoid ManifestOverride(ManifestProcessingContext& cx, int lineno, char* const* argv, int flags) = 0; virtualvoid ManifestResource(ManifestProcessingContext& cx, int lineno, char* const* argv, int flags) = 0;
// Available flags enum { // This package should use the new XPCNativeWrappers to separate // content from chrome. This flag is currently unused (because we call // into xpconnect at registration time).
XPCNATIVEWRAPPERS = 1 << 1,
// Content script may access files in this package
CONTENT_ACCESSIBLE = 1 << 2,
// Package may be loaded remotely
REMOTE_ALLOWED = 1 << 3,
// Package must be loaded remotely
REMOTE_REQUIRED = 1 << 4,
};
bool mInitialized;
// "Override" table (chrome URI string -> real URI)
nsInterfaceHashtable<nsURIHashKey, nsIURI> mOverrideTable;
};
#endif// nsChromeRegistry_h
¤ Dauer der Verarbeitung: 0.17 Sekunden
(vorverarbeitet)
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung ist noch experimentell.