servo/components/devtools/actors
Usman Yahaya Baba f9831f2bea
Track the active tab and browsing context for devtools (#36168)
<!-- Please describe your changes on the following line: -->


---Part of #35867, per Step 5 suggestion. This PR:
- Adds active_tab (via RefCell) to RootActor, updated in
get_tab_msg_by_browser_id.
- Adds browsing_context() helper to TabDescriptorActor.
- Adds actor()`getter to TabDescriptorActorMsg for  access in root.rs.
-Creates the chain (Root - Tab - BrowsingContext) for routing
colorSchemeSimulation.
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by
`[X]` when the step is complete, and replace `___` with appropriate
data: -->
- [X ] `./mach build -d` does not report any errors
- [X ] `./mach test-tidy` does not report any errors
- [ ] These changes fix #___ (GitHub issue number if applicable)

<!-- Either: -->
- [ ] There are tests for these changes OR
- [X] These changes do not require tests because they’re structural
setup for the actor chain and don’t change the system's behavior yet.

<!-- Also, please make sure that "Allow edits from maintainers" checkbox
is checked, so that we can help you if you get stuck somewhere along the
way.-->

<!-- Pull requests that do not address these steps are welcome, but they
will require additional verification as part of the review process. -->

---------

Signed-off-by: Uthman Yahaya Baba <uthmanyahayababa@gmail.com>
2025-03-31 17:51:28 +00:00
..
inspector Show correctly computed element display type in devtools (#35870) 2025-03-10 12:32:30 +00:00
watcher DevTools: Show HTML tree (#32655) 2024-07-26 15:17:54 +00:00
browsing_context.rs devtools: Use webview_id as browser_id (#35956) 2025-03-19 08:59:38 +00:00
console.rs devtools: improve ID Naming for better readability and context (#35942) 2025-03-13 07:36:54 +00:00
device.rs devtools: update targeted firefox version. (#35792) 2025-03-05 06:08:40 +00:00
framerate.rs devtools: improve ID Naming for better readability and context (#35942) 2025-03-13 07:36:54 +00:00
inspector.rs Update rustfmt to the 2024 style edition (#35764) 2025-03-03 11:26:53 +00:00
memory.rs Update rustfmt to the 2024 style edition (#35764) 2025-03-03 11:26:53 +00:00
network_event.rs Update rustfmt to the 2024 style edition (#35764) 2025-03-03 11:26:53 +00:00
object.rs Update rustfmt to the 2024 style edition (#35764) 2025-03-03 11:26:53 +00:00
performance.rs Update rustfmt to the 2024 style edition (#35764) 2025-03-03 11:26:53 +00:00
preference.rs Update rustfmt to the 2024 style edition (#35764) 2025-03-03 11:26:53 +00:00
process.rs Update rustfmt to the 2024 style edition (#35764) 2025-03-03 11:26:53 +00:00
reflow.rs Update rustfmt to the 2024 style edition (#35764) 2025-03-03 11:26:53 +00:00
root.rs Track the active tab and browsing context for devtools (#36168) 2025-03-31 17:51:28 +00:00
stylesheets.rs Update rustfmt to the 2024 style edition (#35764) 2025-03-03 11:26:53 +00:00
tab.rs Track the active tab and browsing context for devtools (#36168) 2025-03-31 17:51:28 +00:00
thread.rs DevTools: Show HTML tree (#32655) 2024-07-26 15:17:54 +00:00
timeline.rs devtools: improve ID Naming for better readability and context (#35942) 2025-03-13 07:36:54 +00:00
watcher.rs DevTools: Fix console in Firefox 131 (#33661) 2024-10-09 12:09:06 +00:00
worker.rs devtools: improve ID Naming for better readability and context (#35942) 2025-03-13 07:36:54 +00:00