-
Notifications
You must be signed in to change notification settings - Fork 79
/
Copy patha11y_base_routes.shard.cml
58 lines (57 loc) · 2.03 KB
/
a11y_base_routes.shard.cml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
// 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.
// This shard is shared across all production and test UI realms that
// contain a11y.
//
// It contains any capabilities that:
//
// (1) A11y manager exposes from every production or test UI realm in which
// it's present.
// (2) A11y manager always consumes from the same source in every production
// or test UI realm in which it's present.
//
// This shard should **NOT** include:
//
// (1) Routes that have different sources in different ui realms.
// (2) A11y manager's child definition, as we may use a differnt url for
// a11y manager in test vs. production ui realms.
// (3) Capabilities that other components consume from a11y manager. Those
// routes belong in those components' routing shards.
{
offer: [
{
protocol: [
"fuchsia.logger.LogSink",
"fuchsia.tracing.provider.Registry",
],
from: "parent",
to: [ "#a11y_manager" ],
},
{
protocol: [
"fuchsia.ui.annotation.Registry",
"fuchsia.ui.composition.Flatland",
"fuchsia.ui.focus.FocusChainListenerRegistry",
"fuchsia.ui.input.accessibility.PointerEventRegistry",
"fuchsia.ui.observation.scope.Registry",
"fuchsia.ui.pointerinjector.Registry",
"fuchsia.ui.scenic.Scenic",
],
from: "#scenic",
to: [ "#a11y_manager" ],
},
],
expose: [
{
protocol: [
"fuchsia.accessibility.gesture.ListenerRegistry",
"fuchsia.accessibility.semantics.SemanticsManager",
"fuchsia.accessibility.tts.EngineRegistry",
"fuchsia.accessibility.tts.TtsManager",
"fuchsia.accessibility.virtualkeyboard.Registry",
],
from: "#a11y_manager",
},
],
}