blob: 864fa69e2e88b52ec97dbba85512401568e635d9 [file] [log] [blame]
// Copyright 2022 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.
{
include: [ "//src/ui/testing/ui_test_manager/meta/text_manager.shard.cml" ],
children: [
{
name: "input-synthesis",
url: "#meta/input-synthesis-component.cm",
},
{
name: "shortcut-manager",
url: "#meta/shortcut_manager.cm",
},
],
offer: [
{
protocol: "fuchsia.logger.LogSink",
from: "parent",
to: [ "#input-synthesis" ],
},
{
protocol: [
"fuchsia.ui.input3.KeyEventInjector",
"fuchsia.ui.keyboard.focus.Controller",
],
from: "#text-manager",
to: [ "#scene-manager" ],
},
{
protocol: [
"fuchsia.input.injection.InputDeviceRegistry",
"fuchsia.ui.input.InputDeviceRegistry",
],
from: "#scene-manager",
to: [ "#input-synthesis" ],
},
{
protocol: [ "fuchsia.ui.shortcut.Manager" ],
from: "#shortcut-manager",
to: "#scene-manager",
},
{
protocol: [ "fuchsia.ui.focus.FocusChainListenerRegistry" ],
from: "#scenic",
to: "#scene-manager",
},
],
expose: [
{
protocol: [
"fuchsia.input.injection.InputDeviceRegistry",
"fuchsia.ui.policy.DeviceListenerRegistry",
],
from: "#scene-manager",
},
{
protocol: [
"test.inputsynthesis.Mouse",
"test.inputsynthesis.Text",
],
from: "#input-synthesis",
},
],
}