-
-
Notifications
You must be signed in to change notification settings - Fork 298
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(windows): add
WebViewBuilderExtWindows::with_scroll_bar_style
(#…
…1344) * Windows: Use `CoreWebView2EnvironmentOptions` API. Use the CoreWebView2EnvironmentOptions API wrapper when creating a WebView2 environment on Windows, as opposed to using the ICoreWebView2EnvironmentOptions* COM interfaces. The wrapper exposes the interface methods with a more Rust-like API. It may be possible to do this with ICoreWebView2Controller as well, but I don't feel like experimenting with that right now. This is just an improvement I realised I could make while implementing #1339. Signed-off-by: Jamie Ridding <[email protected]> * Add with_scroll_bar_style to WebViewBuilderExtWindows Signed-off-by: Jamie Ridding <[email protected]> * Add change file. Signed-off-by: Jamie Ridding <[email protected]> * Adjust change type in change file. I used the wrong change type for wry in 1344-with_scroll_bar_style. This commit upgrades the change type from a patch to a minor change. Signed-off-by: Jamie Ridding <[email protected]> * I forgot to run cargo fmt -_- Signed-off-by: Jamie Ridding <[email protected]> --------- Signed-off-by: Jamie Ridding <[email protected]>
- Loading branch information
Showing
3 changed files
with
45 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"wry": minor | ||
--- | ||
|
||
Windows: Implement `WebViewBuilderExtWindows::with_scroll_bar_style` to allow opting into Fluent Overlay style scrollbars. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters