michael@0: """ -*- Mode: Python -*- michael@0: This Source Code Form is subject to the terms of the Mozilla Public michael@0: License, v. 2.0. If a copy of the MPL was not distributed with this michael@0: file, You can obtain one at http://mozilla.org/MPL/2.0/. michael@0: michael@0: The name of the event which real interface should have nsIDOM-prefix, michael@0: and should be in nsIDOM.idl file and which should have michael@0: Init dictionary for the event constructor. """ michael@0: michael@0: simple_events = [ michael@0: 'ProgressEvent', michael@0: 'StorageEvent', michael@0: 'MozSettingsEvent', michael@0: 'CustomEvent', michael@0: 'PageTransitionEvent', michael@0: 'DOMTransactionEvent', michael@0: 'PopStateEvent', michael@0: 'HashChangeEvent', michael@0: 'CloseEvent', michael@0: 'DeviceOrientationEvent', michael@0: 'MozApplicationEvent', michael@0: 'SmartCardEvent', michael@0: 'StyleRuleChangeEvent', michael@0: 'StyleSheetChangeEvent', michael@0: 'StyleSheetApplicableStateChangeEvent', michael@0: #ifdef MOZ_WIDGET_GONK michael@0: 'MozWifiP2pStatusChangeEvent', michael@0: 'MozWifiStatusChangeEvent', michael@0: 'MozWifiConnectionInfoEvent', michael@0: #endif michael@0: #ifdef MOZ_B2G_RIL michael@0: 'MozCellBroadcastEvent', michael@0: 'MozVoicemailEvent', michael@0: #endif michael@0: 'ElementReplaceEvent', michael@0: 'MozSmsEvent', michael@0: 'MozMmsEvent', michael@0: #ifdef MOZ_WEBSPEECH michael@0: 'SpeechSynthesisEvent', michael@0: #endif michael@0: 'DeviceStorageChangeEvent', michael@0: 'PopupBlockedEvent', michael@0: 'RecordErrorEvent', michael@0: #ifdef MOZ_WEBSPEECH michael@0: 'SpeechRecognitionEvent', michael@0: #endif michael@0: ] michael@0: michael@0: """ include file names """ michael@0: special_includes = [ michael@0: 'nsContentUtils.h', michael@0: 'nsIDOMApplicationRegistry.h', michael@0: 'nsIDOMFile.h' michael@0: ] michael@0: michael@0: """ name of the type to not include using #include "typename.h" """ michael@0: exclude_automatic_type_include = [ michael@0: 'nsISupports', michael@0: 'mozIDOMApplication', michael@0: 'nsIDOMBlob' michael@0: ] michael@0: michael@0: """ Map xpidl interface names to implementation classes. The third column is the canonical interface. """ michael@0: xpidl_to_native = [ michael@0: ['nsIDOMDocument', 'nsIDocument', 'nsIDocument'], michael@0: ['nsIDOMElement', 'mozilla::dom::Element', 'mozilla::dom::Element'], michael@0: ['nsIDOMCSSStyleSheet', 'nsCSSStyleSheet', 'nsIStyleSheet'], michael@0: ['nsIDOMWindow', 'nsGlobalWindow', 'nsIDOMEventTarget'] michael@0: ] michael@0: