mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-30 00:01:50 +00:00
Bug 829867. Unpref PaintRequest and Screen WebIDL bindings and remove some cruft from quickstubs. r=peterv
nsIDOMCharacterData and nsIDOMText quickstubs are not needed after bug 826703. nsIDOMRect quickstubs haven't been needed since bug 824970 landed. nsCSSPropertiesQS has been unused since bug 801083 at least. The various includes being removed are either fully on WebIDL now or using WebIDL quickstubs.
This commit is contained in:
parent
9b45ffdc77
commit
37c97f760a
@ -562,7 +562,6 @@ DOMInterfaces = {
|
||||
|
||||
'PaintRequest': {
|
||||
'nativeType': 'nsPaintRequest',
|
||||
'prefable': True
|
||||
},
|
||||
|
||||
'PaintRequestList': {
|
||||
@ -613,7 +612,6 @@ DOMInterfaces = {
|
||||
|
||||
'Screen': {
|
||||
'nativeType': 'nsScreen',
|
||||
'prefable': True,
|
||||
},
|
||||
|
||||
'SVGAElement': {
|
||||
|
@ -46,12 +46,7 @@ members = [
|
||||
'nsIDOMWindow.onmouseleave',
|
||||
'nsIDOMWindowPerformance.performance',
|
||||
'nsIDOMJSWindow.dump',
|
||||
'nsIDOMScreen.top',
|
||||
'nsIDOMScreen.height',
|
||||
'nsIDOMScreen.width',
|
||||
'nsIDOMScreen.left',
|
||||
'nsIDOMClientRect.*',
|
||||
'nsIDOMPaintRequest.*',
|
||||
# nsLocationSH has ~ALLOW_PROP_MODS_TO_PROTOTYPE, so don't try.
|
||||
#'nsIDOMLocation.hostname',
|
||||
#'nsIDOMLocation.href',
|
||||
@ -64,17 +59,11 @@ members = [
|
||||
'nsIDOMCanvasPattern.*',
|
||||
|
||||
# dom/interfaces/core
|
||||
'nsIDOMCharacterData.data',
|
||||
'nsIDOMCharacterData.length',
|
||||
'nsIDOMNamedNodeMap.item',
|
||||
'nsIDOMNamedNodeMap.length',
|
||||
'nsIDOMText.splitText',
|
||||
'nsIDOMDOMStringList.*',
|
||||
'nsIDOMXULDocument.getBoxObjectFor',
|
||||
|
||||
# dom/interfaces/css
|
||||
'nsIDOMRect.*',
|
||||
|
||||
'nsIDOMEvent.type',
|
||||
'nsIDOMEvent.target',
|
||||
'nsIDOMEvent.currentTarget',
|
||||
@ -307,20 +296,8 @@ irregularFilenames = {
|
||||
}
|
||||
|
||||
customIncludes = [
|
||||
'nsINode.h',
|
||||
'nsIContent.h',
|
||||
'nsIDocument.h',
|
||||
'nsCSSPropertiesQS.h',
|
||||
'nsDOMTokenList.h',
|
||||
'nsGenericDOMDataNode.h',
|
||||
'mozilla/dom/Element.h',
|
||||
'nsGenericHTMLElement.h',
|
||||
'nsSVGElement.h',
|
||||
'nsDOMQS.h',
|
||||
'nsDOMStringMap.h',
|
||||
'HTMLPropertiesCollection.h',
|
||||
'nsHTMLMenuElement.h',
|
||||
'nsICSSDeclaration.h',
|
||||
'mozilla/dom/NodeBinding.h',
|
||||
'mozilla/dom/ElementBinding.h',
|
||||
'mozilla/dom/HTMLElementBinding.h',
|
||||
|
@ -1,30 +0,0 @@
|
||||
/* 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/. */
|
||||
|
||||
#ifndef nsCSSPropertiesQS_h__
|
||||
#define nsCSSPropertiesQS_h__
|
||||
|
||||
#include "nsICSSDeclaration.h"
|
||||
|
||||
#define CSS_PROP_DOMPROP_PREFIXED(prop_) Moz ## prop_
|
||||
#define CSS_PROP(name_, id_, method_, flags_, pref_, parsevariant_, kwtable_, \
|
||||
stylestruct_, stylestructoffset_, animtype_) \
|
||||
static const nsCSSProperty QS_CSS_PROP_##method_ = eCSSProperty_##id_;
|
||||
|
||||
#define CSS_PROP_LIST_EXCLUDE_INTERNAL
|
||||
#define CSS_PROP_SHORTHAND(name_, id_, method_, flags_, pref_) \
|
||||
CSS_PROP(name_, id_, method_, flags_, pref_, X, X, X, X, X)
|
||||
#include "nsCSSPropList.h"
|
||||
|
||||
#define CSS_PROP_ALIAS(aliasname_, propid_, aliasmethod_, pref_) \
|
||||
CSS_PROP(X, propid_, aliasmethod_, X, pref_, X, X, X, X, X)
|
||||
#include "nsCSSPropAliasList.h"
|
||||
#undef CSS_PROP_ALIAS
|
||||
|
||||
#undef CSS_PROP_SHORTHAND
|
||||
#undef CSS_PROP_LIST_EXCLUDE_INTERNAL
|
||||
#undef CSS_PROP
|
||||
#undef CSS_PROP_DOMPROP_PREFIXED
|
||||
|
||||
#endif /* nsCSSPropertiesQS_h__ */
|
Loading…
Reference in New Issue
Block a user