xref: /aosp_15_r20/external/perfetto/ui/src/components/widgets/README (revision 6dbdd20afdafa5e3ca9b8809fa73465d530080dc)
1*6dbdd20aSAndroid Build Coastguard WorkerThis directory contains "widgets" -- standalone reusable components.
2*6dbdd20aSAndroid Build Coastguard Worker
3*6dbdd20aSAndroid Build Coastguard Worker`sql` subdirectory contains "SQL widgets", which are responsible for fetching
4*6dbdd20aSAndroid Build Coastguard Workerthe necessary data from the trace processor in addition to displaying it.
5*6dbdd20aSAndroid Build Coastguard Worker
6*6dbdd20aSAndroid Build Coastguard WorkerThe current split between `ui/src/widgets` and `ui/src/frontend/widgets` (this
7*6dbdd20aSAndroid Build Coastguard Workerdirectory) is semi-arbitrary:
8*6dbdd20aSAndroid Build Coastguard Worker- `ui/src/widgets` contains low-level primitives (button, menu, etc) which
9*6dbdd20aSAndroid Build Coastguard Worker  depend only on //base.
10*6dbdd20aSAndroid Build Coastguard Worker- `ui/src/frontend/widgets` doesn't have dependency restrictions and contains
11*6dbdd20aSAndroid Build Coastguard Worker  higher-level primitives (e.g. SQL table viewer)
12*6dbdd20aSAndroid Build Coastguard Worker
13*6dbdd20aSAndroid Build Coastguard WorkerBoth of these directories will be merged into one once the layering is sorted
14*6dbdd20aSAndroid Build Coastguard Workerout.
15