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

Add "Window to Visual" in "Windowed vs. Visual hosting of WebView2" #3271

Merged
merged 40 commits into from
Oct 3, 2024

Conversation

johna-ms
Copy link
Contributor

@johna-ms johna-ms commented Sep 17, 2024

Rendered article for review:

Outline of headings:

# Windowed vs. Visual hosting of WebView2
(Intro)

## Windowed hosting: For displaying content quickly and easily
#### Advantages
#### Disadvantages
#### APIs for Windowed hosting

## Window to Visual hosting: For a similar experience as Windowed hosting, with added benefits and tradeoff
#### Advantages
#### Disadvantages
#### APIs for Window to Visual hosting

## Visual hosting: For more granular control over layout
#### Requirements for scaling the contents
#### Requirements for routing spatial inputs (mouse, touch, or pen)
#### Advantages and disadvantages
#### APIs for Visual hosting

## Compatibility and constraints
#### Operating systems
#### Framework constraints

## See also

Previous outline of headings in initial version of this PR:

=======================================
## Scenarios for selecting the hosting approach
#### Windowed hosting: For displaying content quickly and easily
###### Advantages
###### Disadvantages

#### Window to Visual hosting: Similar experience as Windowed hosting with added benefits and tradeoff
###### Advantages
###### Disadvantages

#### Visual hosting: For more granular control over layout
###### Advantages and disadvantages

=======================================
## Compatibility and constraints
#### Operating systems
#### Rendering WebView2 in framework and non-framework apps    [APIs tabset]

=======================================
## Windowed hosting and Window to Visual hosting
#### Benefits of Windowed hosting
#### Benefits of Window to Visual hosting
#### APIs for Windowed hosting and Window to Visual hosting
###### Window management                          [APIs tabset]
###### Sizing, positioning, and visibility        [APIs tabset] child
###### Zooming                                    [APIs tabset] child
###### Rasterization scale                        [APIs tabset]
###### Focus and tabbing                          [APIs tabset]
###### Parent window                              [APIs tabset]
###### Keyboard accelerators                      [APIs tabset]
###### Default background color                   [APIs tabset]

=======================================
## Visual hosting
#### APIs for Visual hosting
###### Composition-based rendering                [APIs tabset]
###### Output                                     [APIs tabset]
###### Input                                      [APIs tabset]
###### Accessibility                              [APIs tabset]

=======================================
## See also

AB#53976497

@mikehoffms mikehoffms added the cat: webview2 WebView-related content. label Sep 17, 2024
@mikehoffms mikehoffms changed the title Adding documentation for Window to Visual hosting mode Document Window-to-Visual hosting in "Windowed vs. visual hosting of WebView2" Sep 17, 2024
mikehoffms

This comment was marked as off-topic.

Copy link
Contributor

@mikehoffms mikehoffms left a comment

Choose a reason for hiding this comment

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

LGTM - Writer/Editor

Copy link
Contributor

@champnic champnic left a comment

Choose a reason for hiding this comment

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

Small comments, but otherwise LGTM. Approved by Dev

Copy link
Contributor Author

@johna-ms johna-ms left a comment

Choose a reason for hiding this comment

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

LGTM | Dev

Copy link

Learn Build status updates of commit 918a03e:

✅ Validation status: passed

File Status Preview URL Details
microsoft-edge/toc.yml ✅Succeeded View
microsoft-edge/webview2/concepts/windowed-vs-visual-hosting.md ✅Succeeded View

For more details, please refer to the build report.

For any questions, please:

@captainbrosset captainbrosset merged commit b2d00ae into main Oct 3, 2024
2 checks passed
@captainbrosset captainbrosset deleted the user/johna/window-to-visual-hosting branch October 3, 2024 08:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cat: webview2 WebView-related content.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants