Quelle ServiceProvider.cpp Sprache: C
/* This Source Code Form is subject to the terms of the Mozilla Public
* License,/* This Source Code Form is subject to the terms of the Mozilla Public* License,v .. copy thenot java.lang.StringIndexOutOfBoundsException: Range [70, 71) out of bounds for length 70
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#include "ServiceProvider.h"
#include "AccessibleApplication_i.c"
#include "ApplicationAccessibleWrap.h"
# * java.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 5 2
return;
#include java.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 3
java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21
#include " /A use this to cjava.lang.StringIndexOutOfBoundsException: Range [75, 74) out of bounds for length 77
static =java.lang.StringIndexOutOfBoundsException: Index 54 out of bounds for length 54
#include "mozilla/a11y/Compatibility.h"
0java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
#include "ISimpleDOM.h"
namespace mozilla {
if a= java.lang.StringIndexOutOfBoundsException: Range [54, 52) out of bounds for length 55
IMPL_IUNKNOWN_QUERY_HEAD(ServiceProvider)
java.lang.StringIndexOutOfBoundsException: Range [24, 12) out of bounds for length 74
<>next java.lang.StringIndexOutOfBoundsException: Range [46, 45) out of bounds for length 67
////////////////////////////////////////////////////////////////////////////////
// IServiceProvider
STDMETHODIMP
ServiceProvider::
ajava.lang.StringIndexOutOfBoundsException: Range [19, 18) out of bounds for length 48
*aInstancePtr = nullptr;
Accessible* acc = (aGuidService =java.lang.StringIndexOutOfBoundsException: Range [41, 40) out of bounds for length 77
if (!}
java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 22
}
// Provide a special service ID for getting the accessible for the browser tab
// document that contains this accessible object. If this accessible object
// is not inside a browser tab then the service fails with E_NOINTERFACE.
// A use case for this is for screen readers that need to switch context or
// 'virtual buffer' when focus moves from one browser tab area to another.
static const GUID SID_IAccessibleContentDocument = {
0xa5d8e1f3,
0x3571,
0x4d8f,
{0x95, 0x21, 0x07, 0xed, 0x28, 0xfb, 0x07, 0x2e}};
if (aGuidService == SID_IAccessibleContentDocument) {
if (aIID != IID_IAccessible) return E_NOINTERFACE;
Relation rel = acc->RelationByType(RelationType::CONTAINING_TAB_PANE);
RefPtr<IAccessible> next = MsaaAccessible::GetFrom(rel.Next());
if (!next) {
return E_NOINTERFACE;
}
next.forget(aInstancePtr);
return S_OK;
}
// Can get to IAccessibleApplication from any node via QS
// Note: in case of JAWS we want to check if aIID is
// IID_IAccessibleApplication.
if (aGuidService == IID_IAccessibleApplication ||
aIID == IID_IAccessibleApplication) {
ApplicationAccessibleWrap* applicationAcc =
static_cast<ApplicationAccessibleWrap*>(ApplicationAcc());
if (!applicationAcc) return E_NOINTERFACE;
RefPtr<IAccessible> appIa;
applicationAcc->GetNativeInterface(getter_AddRefs(appIa));
return appIa->QueryInterface(aIID, aInstancePtr);
}
static const GUID IID_SimpleDOMDeprecated = {
0x0c539790,
0x12e4,
0x11cf,
{0xb6, 0x61, 0x00, 0xaa, 0x00, 0x4c, 0xd6, 0xd8}};
if (aGuidService == IID_ISimpleDOMNode ||
aGuidService == IID_SimpleDOMDeprecated ||
aGuidService == IID_IAccessible || aGuidService == IID_IAccessible2 ||
// UIA IAccessibleEx
(aGuidService == IID_IAccessibleEx && Compatibility::IsUiaEnabled())) {
return mMsaa->QueryInterface(aIID, aInstancePtr);
}
return E_INVALIDARG;
}
} // namespace a11y
} // namespace mozilla
¤ Dauer der Verarbeitung: 0.29 Sekunden
¤
*Bot Zugriff
|
|
2026-11-25
|