blob: 9efa979bd07d735979a21ce75d8b5db32a35df9c [file] [log] [blame]
// Copyright 2019 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
library fuchsia.ui.policy.accessibility;
using fuchsia.ui.input.accessibility;
@discoverable
protocol PointerEventRegistry {
/// Registers a listener with Scenic which will receive accessibility
/// pointer events. These events will be handled by the accessibility
/// listener, which will have the chance to either consume or reject them.
/// If rejected, they will continue their normal flow. Only one listener can
/// be registered.
Register(resource struct {
pointer_event_listener client_end:fuchsia.ui.input.accessibility.PointerEventListener;
}) -> (struct {
success bool;
});
};