gecko-dev/accessible/other/Platform.cpp
James Teh 447aa32c0e Bug 1862802 part 1: Provide an argument to PlatformCaretMoveEvent specifying whether the event was caused by user input. r=eeejay
This is needed in order to support find in page on Android using remote caret events instead of virtual cursor change events.

Depends on D192641

Differential Revision: https://phabricator.services.mozilla.com/D192642
2023-11-29 03:53:19 +00:00

39 lines
1.4 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,
bool aFromUser) {}
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) {}