Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Api For Hit Testing #3367

Merged
merged 10 commits into from
Nov 1, 2023
Merged

Api For Hit Testing #3367

merged 10 commits into from
Nov 1, 2023

Conversation

tochukwuIbeEkeocha
Copy link
Contributor

This PR Includes a new API for Webview2 to provide Hit Testing results on regions that it contains. This can be used to enable support for features like Draggable Regions, System Menu access, and more features that are traditionally associated with Non-Client areas of a Windows app.

tochukwuIbeEkeocha and others added 8 commits March 27, 2023 16:42
Co-authored-by: David Risney <dave@deletethis.net>
Co-authored-by: David Risney <dave@deletethis.net>
Co-authored-by: David Risney <dave@deletethis.net>
Co-authored-by: David Risney <dave@deletethis.net>
added new spec for a Non Client Area Hit Testing API
specs/NonClientHitTestKind.md Outdated Show resolved Hide resolved
specs/NonClientHitTestKind.md Outdated Show resolved Hide resolved
specs/NonClientHitTestKind.md Outdated Show resolved Hide resolved
specs/NonClientHitTestKind.md Outdated Show resolved Hide resolved
specs/NonClientHitTestKind.md Outdated Show resolved Hide resolved
specs/NonClientHitTestKind.md Outdated Show resolved Hide resolved
specs/NonClientHitTestKind.md Outdated Show resolved Hide resolved
specs/NonClientHitTestKind.md Outdated Show resolved Hide resolved
specs/NonClientHitTestKind.md Outdated Show resolved Hide resolved
specs/NonClientHitTestKind.md Outdated Show resolved Hide resolved
specs/NonClientHitTestKind.md Outdated Show resolved Hide resolved
specs/NonClientHitTestKind.md Outdated Show resolved Hide resolved
specs/NonClientHitTestKind.md Outdated Show resolved Hide resolved
specs/NonClientHitTestKind.md Outdated Show resolved Hide resolved
specs/NonClientHitTestKind.md Outdated Show resolved Hide resolved
specs/NonClientHitTestKind.md Outdated Show resolved Hide resolved
specs/NonClientHitTestKind.md Show resolved Hide resolved
specs/NonClientHitTestKind.md Outdated Show resolved Hide resolved
Copy link
Contributor

@david-risney david-risney left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please address feedback. Thanks!

specs/NonClientHitTestKind.md Outdated Show resolved Hide resolved
specs/NonClientHitTestKind.md Outdated Show resolved Hide resolved
specs/NonClientHitTestKind.md Outdated Show resolved Hide resolved
specs/NonClientHitTestKind.md Outdated Show resolved Hide resolved
specs/NonClientHitTestKind.md Outdated Show resolved Hide resolved
specs/NonClientHitTestKind.md Outdated Show resolved Hide resolved
specs/NonClientHitTestKind.md Outdated Show resolved Hide resolved
specs/NonClientHitTestKind.md Outdated Show resolved Hide resolved
specs/NonClientHitTestKind.md Outdated Show resolved Hide resolved
specs/NonClientHitTestKind.md Outdated Show resolved Hide resolved
@david-risney david-risney added the review completed WebView2 API Proposal that's been reviewed and now needs final update and push label Apr 24, 2023
specs/NonClientHitTestKind.md Outdated Show resolved Hide resolved
specs/NonClientHitTestKind.md Outdated Show resolved Hide resolved
specs/NonClientHitTestKind.md Outdated Show resolved Hide resolved
specs/NonClientHitTestKind.md Outdated Show resolved Hide resolved
@leaanthony
Copy link

Any news on this? Thanks.

@Borber
Copy link

Borber commented Aug 5, 2023

still following

@mchao123
Copy link

I plan to listen for mouse events and simulate keyboard WIN+Z to achieve a close layout, but there seems to be a problem with the location. Does anyone know what to do?
image
Electron's WeChat seems to be fine.
image

@tochukwuIbeEkeocha tochukwuIbeEkeocha merged commit 0b37a79 into main Nov 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
API Proposal Review WebView2 API Proposal for review. review completed WebView2 API Proposal that's been reviewed and now needs final update and push
Projects
None yet
Development

Successfully merging this pull request may close these issues.

9 participants