diff options
author | Usman Yahaya Baba <91813795+uthmaniv@users.noreply.github.com> | 2025-04-06 15:19:42 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-04-06 14:19:42 +0000 |
commit | fab5e029726a85c179b57b834eae547abf006256 (patch) | |
tree | 6c8b79440f743b94d6735b23ab99e1c438ead455 /components/shared/embedder/lib.rs | |
parent | 9d074161638829deb0f0b1adacb8ff270abd1978 (diff) | |
download | servo-fab5e029726a85c179b57b834eae547abf006256.tar.gz servo-fab5e029726a85c179b57b834eae547abf006256.zip |
Process colorSchemeSimulation in TargetConfigurationActor (#36297)
Implements Steps 1,4&6 of https://github.com/servo/servo/issues/35867:
- Adds `pub simulate_color_scheme` to `BrowsingContextActor` using
`script_chan`.
- Processes `colorSchemeSimulation` flag in `TargetConfigurationActor`’s
`updateConfiguration`.
- Routes `colorSchemeSimulation` from `RootActor` via
`TabDescriptorActor` to `BrowsingContextActor`.
Testing: Compiles and lints clean.
Fixes: https://github.com/servo/servo/issues/35867
---------
Signed-off-by: Uthman Yahaya Baba <uthmanyahayababa@gmail.com>
Diffstat (limited to 'components/shared/embedder/lib.rs')
-rw-r--r-- | components/shared/embedder/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/shared/embedder/lib.rs b/components/shared/embedder/lib.rs index 85dd4bf3af9..529ae465567 100644 --- a/components/shared/embedder/lib.rs +++ b/components/shared/embedder/lib.rs @@ -293,7 +293,7 @@ pub enum EmbedderMsg { AllowOpeningWebView(WebViewId, IpcSender<Option<(WebViewId, ViewportDetails)>>), /// A webview was destroyed. WebViewClosed(WebViewId), - /// A webview gained focus for keyboard events. + /// A webview gained focus for keyboard events WebViewFocused(WebViewId), /// All webviews lost focus for keyboard events. WebViewBlurred, |