bug 808229 - rm a11yGeneric.h r=surkov

This commit is contained in:
Trevor Saunders 2012-11-02 19:20:39 -04:00
parent 8d141b343e
commit ec1e03dc9d
4 changed files with 0 additions and 26 deletions

View File

@ -47,7 +47,6 @@ CPPSRCS += \
endif
EXPORTS = \
a11yGeneric.h \
AccEvent.h \
nsAccDocManager.h \
nsAccessibilityService.h \

View File

@ -1,23 +0,0 @@
/* -*- 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/. */
#ifndef _a11yGeneric_H_
#define _a11yGeneric_H_
#include "nsThreadUtils.h"
// What we want is: NS_INTERFACE_MAP_ENTRY(self) for static IID accessors,
// but some of our classes have an ambiguous base class of nsISupports which
// prevents this from working (the default macro converts it to nsISupports,
// then addrefs it, then returns it). Therefore, we expand the macro here and
// change it so that it works. Yuck.
#define NS_INTERFACE_MAP_STATIC_AMBIGUOUS(_class) \
if (aIID.Equals(NS_GET_IID(_class))) { \
NS_ADDREF(this); \
*aInstancePtr = this; \
return NS_OK; \
} else
#endif

View File

@ -12,7 +12,6 @@
#include "nsIAccessibleTypes.h"
#include "nsINode.h"
#include "a11yGeneric.h"
class nsAccessNode;
class DocAccessible;

View File

@ -8,7 +8,6 @@
#include "nsIAccessibilityService.h"
#include "a11yGeneric.h"
#include "nsAccDocManager.h"
#include "mozilla/a11y/FocusManager.h"