fune/accessible/other/Platform.cpp
James Teh 4d2410a13e Bug 1694573 part 2: Make Platform*Event functions take Accessible instead of RemoteAccessible. r=eeejay
Some of these methods don't yet handle LocalAccessible properly, but that will be fixed in subsequent patches.

Differential Revision: https://phabricator.services.mozilla.com/D183701
2023-07-19 02:56:53 +00:00

37 lines
1.3 KiB
C++

/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set ts=2 et sw=2 tw=80: */
/* 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/. */
#include "Platform.h"
using namespace mozilla;
using namespace mozilla::a11y;
void a11y::PlatformInit() {}
void a11y::PlatformShutdown() {}
void a11y::ProxyCreated(RemoteAccessible*) {}
void a11y::ProxyDestroyed(RemoteAccessible*) {}
void a11y::PlatformEvent(Accessible*, uint32_t) {}
void a11y::PlatformStateChangeEvent(Accessible*, uint64_t, bool) {}
void a11y::PlatformFocusEvent(Accessible* aTarget,
const LayoutDeviceIntRect& aCaretRect) {}
void a11y::PlatformCaretMoveEvent(Accessible* aTarget, int32_t aOffset,
bool aIsSelectionCollapsed,
int32_t aGranularity,
const LayoutDeviceIntRect& aCaretRect) {}
void a11y::PlatformTextChangeEvent(Accessible*, const nsAString&, int32_t,
uint32_t, bool, bool) {}
void a11y::PlatformShowHideEvent(Accessible*, Accessible*, bool, bool) {}
void a11y::PlatformSelectionEvent(Accessible*, Accessible*, uint32_t) {}