1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/js/xpconnect/src/event_impl_gen.conf.in Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,70 @@ 1.4 +""" -*- Mode: Python -*- 1.5 + This Source Code Form is subject to the terms of the Mozilla Public 1.6 + License, v. 2.0. If a copy of the MPL was not distributed with this 1.7 + file, You can obtain one at http://mozilla.org/MPL/2.0/. 1.8 + 1.9 + The name of the event which real interface should have nsIDOM-prefix, 1.10 + and should be in nsIDOM<name>.idl file and which should have 1.11 + <name>Init dictionary for the event constructor. """ 1.12 + 1.13 +simple_events = [ 1.14 + 'ProgressEvent', 1.15 + 'StorageEvent', 1.16 + 'MozSettingsEvent', 1.17 + 'CustomEvent', 1.18 + 'PageTransitionEvent', 1.19 + 'DOMTransactionEvent', 1.20 + 'PopStateEvent', 1.21 + 'HashChangeEvent', 1.22 + 'CloseEvent', 1.23 + 'DeviceOrientationEvent', 1.24 + 'MozApplicationEvent', 1.25 + 'SmartCardEvent', 1.26 + 'StyleRuleChangeEvent', 1.27 + 'StyleSheetChangeEvent', 1.28 + 'StyleSheetApplicableStateChangeEvent', 1.29 +#ifdef MOZ_WIDGET_GONK 1.30 + 'MozWifiP2pStatusChangeEvent', 1.31 + 'MozWifiStatusChangeEvent', 1.32 + 'MozWifiConnectionInfoEvent', 1.33 +#endif 1.34 +#ifdef MOZ_B2G_RIL 1.35 + 'MozCellBroadcastEvent', 1.36 + 'MozVoicemailEvent', 1.37 +#endif 1.38 + 'ElementReplaceEvent', 1.39 + 'MozSmsEvent', 1.40 + 'MozMmsEvent', 1.41 +#ifdef MOZ_WEBSPEECH 1.42 + 'SpeechSynthesisEvent', 1.43 +#endif 1.44 + 'DeviceStorageChangeEvent', 1.45 + 'PopupBlockedEvent', 1.46 + 'RecordErrorEvent', 1.47 +#ifdef MOZ_WEBSPEECH 1.48 + 'SpeechRecognitionEvent', 1.49 +#endif 1.50 + ] 1.51 + 1.52 +""" include file names """ 1.53 +special_includes = [ 1.54 + 'nsContentUtils.h', 1.55 + 'nsIDOMApplicationRegistry.h', 1.56 + 'nsIDOMFile.h' 1.57 + ] 1.58 + 1.59 +""" name of the type to not include using #include "typename.h" """ 1.60 +exclude_automatic_type_include = [ 1.61 + 'nsISupports', 1.62 + 'mozIDOMApplication', 1.63 + 'nsIDOMBlob' 1.64 + ] 1.65 + 1.66 +""" Map xpidl interface names to implementation classes. The third column is the canonical interface. """ 1.67 +xpidl_to_native = [ 1.68 + ['nsIDOMDocument', 'nsIDocument', 'nsIDocument'], 1.69 + ['nsIDOMElement', 'mozilla::dom::Element', 'mozilla::dom::Element'], 1.70 + ['nsIDOMCSSStyleSheet', 'nsCSSStyleSheet', 'nsIStyleSheet'], 1.71 + ['nsIDOMWindow', 'nsGlobalWindow', 'nsIDOMEventTarget'] 1.72 + ] 1.73 +