mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-17 15:25:52 +00:00
bug 808229 - rm a11yGeneric.h r=surkov
This commit is contained in:
parent
8d141b343e
commit
ec1e03dc9d
@ -47,7 +47,6 @@ CPPSRCS += \
|
||||
endif
|
||||
|
||||
EXPORTS = \
|
||||
a11yGeneric.h \
|
||||
AccEvent.h \
|
||||
nsAccDocManager.h \
|
||||
nsAccessibilityService.h \
|
||||
|
@ -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
|
@ -12,7 +12,6 @@
|
||||
|
||||
#include "nsIAccessibleTypes.h"
|
||||
#include "nsINode.h"
|
||||
#include "a11yGeneric.h"
|
||||
|
||||
class nsAccessNode;
|
||||
class DocAccessible;
|
||||
|
@ -8,7 +8,6 @@
|
||||
|
||||
#include "nsIAccessibilityService.h"
|
||||
|
||||
#include "a11yGeneric.h"
|
||||
#include "nsAccDocManager.h"
|
||||
|
||||
#include "mozilla/a11y/FocusManager.h"
|
||||
|
Loading…
Reference in New Issue
Block a user