servo/ports/servoshell
Delan Azabani eb95703325
constellation: focusing and closing webviews (#30842)
* constellation: focusing, closing, and native window visibility

* rename “browser” to “webview”, “unfocus” to “blur”

* remove native window visibility from constellation

* rename more “browser” to “webview”

* guard clauses

* don’t automatically focus when no webviews are focused

* comment spec steps for window.close()

* use format interpolation

Co-authored-by: Martin Robinson <mrobinson@igalia.com>

* fix formatting

* rename “Webview” to “WebView” in types and type parameters

* remove unused method

* fix libsimpleservo

---------

Co-authored-by: Martin Robinson <mrobinson@igalia.com>
2024-01-24 11:45:54 +00:00
..
platform minibrowser: implement HiDPI support (#30343) 2023-09-14 13:24:38 +00:00
app.rs constellation: focusing and closing webviews (#30842) 2024-01-24 11:45:54 +00:00
backtrace.rs rustdoc: Fix many rustdoc errors (#31147) 2024-01-22 13:13:48 +00:00
build.rs Enable debug assertions for all builds other than official releases (#30509) 2023-10-26 08:22:14 +00:00
Cargo.toml build(deps): bump vergen from 8.3.0 to 8.3.1 (#31114) 2024-01-17 17:03:18 +00:00
crash_handler.rs [NFC] servoshell: fix rust-analyzer and rustfmt breakage (#30340) 2023-09-12 06:27:10 +00:00
egui_glue.rs Rename ports/winit package to servoshell (#30163) 2023-08-28 14:36:57 +00:00
embedder.rs Rename ports/winit package to servoshell (#30163) 2023-08-28 14:36:57 +00:00
events_loop.rs [NFC] servoshell: fix rust-analyzer and rustfmt breakage (#30340) 2023-09-12 06:27:10 +00:00
geometry.rs Add initial support for offscreen rendering (#30767) 2023-12-13 02:49:25 +00:00
headed_window.rs Add initial support for offscreen rendering (#30767) 2023-12-13 02:49:25 +00:00
headless_window.rs minibrowser: implement HiDPI support (#30343) 2023-09-14 13:24:38 +00:00
keyutils.rs [NFC] servoshell: fix rust-analyzer and rustfmt breakage (#30340) 2023-09-12 06:27:10 +00:00
main.rs constellation: focusing and closing webviews (#30842) 2024-01-24 11:45:54 +00:00
main2.rs [NFC] servoshell: clarify that device_pixels_per_px is an override (#30342) 2023-09-12 09:29:26 +00:00
minibrowser.rs constellation: focusing and closing webviews (#30842) 2024-01-24 11:45:54 +00:00
parser.rs Handle URL without scheme (#30148) 2023-11-09 16:37:22 +00:00
prefs.rs Enable debug assertions for all builds other than official releases (#30509) 2023-10-26 08:22:14 +00:00
resources.rs Enable debug assertions for all builds other than official releases (#30509) 2023-10-26 08:22:14 +00:00
test.rs Handle URL without scheme (#30148) 2023-11-09 16:37:22 +00:00
webview.rs constellation: focusing and closing webviews (#30842) 2024-01-24 11:45:54 +00:00
window_trait.rs minibrowser: implement HiDPI support (#30343) 2023-09-14 13:24:38 +00:00