Skip to content

Commit 0d07bf8

Browse files
authored
Update "Overview of WebView2 APIs" for May 2025 (#3447)
* incoming * move new link into existing section * reveal RelNotes link * Detailed contents * Break up intro para
1 parent 3720379 commit 0d07bf8

File tree

1 file changed

+111
-12
lines changed

1 file changed

+111
-12
lines changed

microsoft-edge/webview2/concepts/overview-features-apis.md

Lines changed: 111 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -6,17 +6,99 @@ ms.author: msedgedevrel
66
ms.topic: conceptual
77
ms.service: microsoft-edge
88
ms.subservice: webview
9-
ms.date: 11/18/2024
9+
ms.date: 05/05/2025
1010
---
1111
# Overview of WebView2 APIs
1212

13-
Embedding the WebView2 control in your app gives your app access to various methods and properties that are provided through the WebView2 classes or interfaces. WebView2 has hundreds of APIs that provide a vast set of capabilities, ranging from enhancing your app's native-platform capabilities, to enabling your app to modify browser experiences. This article provides a high-level grouping of the WebView2 APIs to help you understand the different things you can do using WebView2.
13+
Embedding the WebView2 control in your app gives your app access to various methods and properties that are provided through the WebView2 classes or interfaces.
14+
15+
WebView2 has hundreds of APIs that provide a vast set of capabilities, ranging from enhancing your app's native-platform capabilities, to enabling your app to modify browser experiences. This article provides a high-level grouping of the WebView2 APIs to help you understand the different things you can do using WebView2.
1416

1517
<!-- maintenance notes:
1618
when adding an h2 heading, add row in table
1719
when adding an h4 heading, add nav link below the h2
1820
-->
1921

22+
**Detailed contents:**
23+
* [Overview of top-level feature areas](#overview-of-top-level-feature-areas)
24+
* [Main classes: Environment, Controller, and Core](#main-classes-environment-controller-and-core)
25+
* [Web/native interop](#webnative-interop)
26+
* [Host/web object sharing](#hostweb-object-sharing)
27+
* [Script execution](#script-execution)
28+
* [Web messaging](#web-messaging)
29+
* [Script dialogs](#script-dialogs)
30+
* [Shared buffer](#shared-buffer)
31+
* [Browser features](#browser-features)
32+
* [Printing](#printing)
33+
* [Cookies](#cookies)
34+
* [Image capture](#image-capture)
35+
* [Control whether the screen capture UI is shown](#control-whether-the-screen-capture-ui-is-shown)
36+
* [Downloads](#downloads)
37+
* [Save as](#save-as)
38+
* [Configure the security warning when saving a file](#configure-the-security-warning-when-saving-a-file)
39+
* [Web notification handling](#web-notification-handling)
40+
* [Permissions](#permissions)
41+
* [Context menus](#context-menus)
42+
* [Status bar](#status-bar)
43+
* [Fluent overlay scrollbars](#fluent-overlay-scrollbars)
44+
* [User Agent](#user-agent)
45+
* [Autofill](#autofill)
46+
* [Audio](#audio)
47+
* [Hit-testing of mouse-clicks in regions](#hit-testing-of-mouse-clicks-in-regions)
48+
* [Swipe gesture navigation](#swipe-gesture-navigation)
49+
* [Enable or disable the browser responding to accelerator keys (shortcut keys)](#enable-or-disable-the-browser-responding-to-accelerator-keys-shortcut-keys)
50+
* [Fullscreen](#fullscreen)
51+
* [PDF toolbar](#pdf-toolbar)
52+
* [Theming](#theming)
53+
* [Language](#language)
54+
* [New window](#new-window)
55+
* [Close window](#close-window)
56+
* [Document title](#document-title)
57+
* [Favicon](#favicon)
58+
* [Security and privacy](#security-and-privacy)
59+
* [Tracking prevention](#tracking-prevention)
60+
* [SmartScreen](#smartscreen)
61+
* [Custom crash reporting](#custom-crash-reporting)
62+
* [Browser extensions](#browser-extensions)
63+
* [Process management](#process-management)
64+
* [Frame process info](#frame-process-info)
65+
* [Navigate to pages and manage loaded content](#navigate-to-pages-and-manage-loaded-content)
66+
* [Manage content loaded into WebView2](#manage-content-loaded-into-webview2)
67+
* [Navigation history](#navigation-history)
68+
* [Navigation kind](#navigation-kind)
69+
* [Block unwanted navigating](#block-unwanted-navigating)
70+
* [Navigation events](#navigation-events)
71+
* [Manage network requests in WebView2](#manage-network-requests-in-webview2)
72+
* [Custom scheme registration](#custom-scheme-registration)
73+
* [Client certificates](#client-certificates)
74+
* [Server certificates](#server-certificates)
75+
* [Launch an external URI scheme](#launch-an-external-uri-scheme)
76+
* [iframes](#iframes)
77+
* [Authentication](#authentication)
78+
* [Rendering WebView2 in non-framework apps](#rendering-webview2-in-non-framework-apps)
79+
* [When to use these APIs](#when-to-use-these-apis)
80+
* [Sizing, positioning, and visibility](#sizing-positioning-and-visibility)
81+
* [Zooming](#zooming)
82+
* [Rasterization scale](#rasterization-scale)
83+
* [Focus and tabbing](#focus-and-tabbing)
84+
* [Parent window](#parent-window)
85+
* [Keyboard accelerators](#keyboard-accelerators)
86+
* [Default background color](#default-background-color)
87+
* [Rendering WebView2 using Composition](#rendering-webview2-using-composition)
88+
* [Connecting to the visual tree](#connecting-to-the-visual-tree)
89+
* [Forwarding input](#forwarding-input)
90+
* [Drag and drop](#drag-and-drop)
91+
* [Accessibility](#accessibility)
92+
* [Environment options](#environment-options)
93+
* [User data](#user-data)
94+
* [Multiple profiles](#multiple-profiles)
95+
* [Delete a profile](#delete-a-profile)
96+
* [Runtime selection](#runtime-selection)
97+
* [Performance and debugging](#performance-and-debugging)
98+
* [Memory usage target](#memory-usage-target)
99+
* [Chrome DevTools Protocol (CDP)](#chrome-devtools-protocol-cdp)
100+
* [See also](#see-also)
101+
20102

21103
<!-- ====================================================================== -->
22104
## Overview of top-level feature areas
@@ -2474,39 +2556,56 @@ iframes allow you to embed other webpages into your own webpage. In WebView2, y
24742556
* Find out when iframes are navigating.
24752557
* Allow bypassing x-frame options.
24762558

2477-
<!-- wording per overview table:
2478-
Embed other webpages into your own webpage. Detect when embedded webpages are created, detect when embedded webpages are navigating, and optionally bypass x-frame options. -->
2479-
24802559
See also:
24812560
* [Host/web object sharing](#hostweb-object-sharing), above
24822561
* [Using frames in WebView2 apps](./frames.md)
2562+
* [Track navigation history for nested iframes (FrameCreatedEvent API)](../release-notes/index.md#track-navigation-history-for-nested-iframes-framecreatedevent-api) in _Release Notes for the WebView2 SDK_.
24832563

24842564
##### [.NET/C#](#tab/dotnetcsharp)
24852565

24862566
* `CoreWebView2` Class:
24872567
* [CoreWebView2.FrameCreated Event](/dotnet/api/microsoft.web.webview2.core.corewebview2.framecreated)
2568+
24882569
* [CoreWebView2Frame Class](/dotnet/api/microsoft.web.webview2.core.corewebview2frame)
2570+
* [CoreWebView2Frame.FrameCreated Event](/dotnet/api/microsoft.web.webview2.core.corewebview2frame.framecreated)
2571+
24892572
* [CoreWebView2FrameCreatedEventArgs Class](/dotnet/api/microsoft.web.webview2.core.corewebview2framecreatedeventargs)
2573+
24902574
* [CoreWebView2FrameInfo Class](/dotnet/api/microsoft.web.webview2.core.corewebview2frameinfo)
24912575

24922576
##### [WinRT/C#](#tab/winrtcsharp)
24932577

24942578
* `CoreWebView2` Class:
24952579
* [CoreWebView2.FrameCreated Event](/microsoft-edge/webview2/reference/winrt/microsoft_web_webview2_core/corewebview2#framecreated)
2580+
24962581
* [CoreWebView2Frame Class](/microsoft-edge/webview2/reference/winrt/microsoft_web_webview2_core/corewebview2frame)
2582+
* [CoreWebView2Frame.FrameCreated Event](/microsoft-edge/webview2/reference/winrt/microsoft_web_webview2_core/corewebview2frame#framecreated)
2583+
24972584
* [CoreWebView2FrameCreatedEventArgs Class](/microsoft-edge/webview2/reference/winrt/microsoft_web_webview2_core/corewebview2framecreatedeventargs)
2585+
24982586
* [CoreWebView2FrameInfo Class](/microsoft-edge/webview2/reference/winrt/microsoft_web_webview2_core/corewebview2frameinfo)
24992587

25002588
##### [Win32/C++](#tab/win32cpp)
25012589

25022590
* `ICoreWebView2_4` interface:
2503-
* [ICoreWebView2_4::add_FrameCreated method](/microsoft-edge/webview2/reference/win32/icorewebview2_4#add_framecreated)
2504-
* [ICoreWebView2_4::remove_FrameCreated method](/microsoft-edge/webview2/reference/win32/icorewebview2_4#remove_framecreated)
2505-
* [ICoreWebView2Frame interface](/microsoft-edge/webview2/reference/win32/icorewebview2frame)
2506-
* [ICoreWebView2FrameCreatedEventArgs interface](/microsoft-edge/webview2/reference/win32/icorewebview2framecreatedeventargs)
2507-
* [ICoreWebView2FrameInfo interface](/microsoft-edge/webview2/reference/win32/icorewebview2frameinfo)
2508-
* [ICoreWebView2FrameInfoCollection interface](/microsoft-edge/webview2/reference/win32/icorewebview2frameinfocollection)<!--C++ only-->
2509-
* [ICoreWebView2FrameInfoCollectionIterator interface](/microsoft-edge/webview2/reference/win32/icorewebview2frameinfocollectioniterator)<!--C++ only-->
2591+
* [ICoreWebView2_4::add_FrameCreated](/microsoft-edge/webview2/reference/win32/icorewebview2_4#add_framecreated)
2592+
* [ICoreWebView2_4::remove_FrameCreated](/microsoft-edge/webview2/reference/win32/icorewebview2_4#remove_framecreated)
2593+
2594+
* [ICoreWebView2Frame](/microsoft-edge/webview2/reference/win32/icorewebview2frame)
2595+
2596+
* [ICoreWebView2Frame7](/microsoft-edge/webview2/reference/win32/icorewebview2frame7)
2597+
* [ICoreWebView2Frame7::add_FrameCreated](/microsoft-edge/webview2/reference/win32/icorewebview2frame7#add_framecreated)
2598+
* [ICoreWebView2Frame7::remove_FrameCreated](/microsoft-edge/webview2/reference/win32/icorewebview2frame7#remove_framecreated)
2599+
2600+
* [ICoreWebView2FrameChildFrameCreatedEventHandler](/microsoft-edge/webview2/reference/win32/icorewebview2framechildframecreatedeventhandler)<!-- win32 only -->
2601+
2602+
* [ICoreWebView2FrameCreatedEventArgs](/microsoft-edge/webview2/reference/win32/icorewebview2framecreatedeventargs)
2603+
2604+
* [ICoreWebView2FrameInfo](/microsoft-edge/webview2/reference/win32/icorewebview2frameinfo)
2605+
2606+
* [ICoreWebView2FrameInfoCollection](/microsoft-edge/webview2/reference/win32/icorewebview2frameinfocollection)<!--C++ only-->
2607+
2608+
* [ICoreWebView2FrameInfoCollectionIterator](/microsoft-edge/webview2/reference/win32/icorewebview2frameinfocollectioniterator)<!--C++ only-->
25102609

25112610
---
25122611

0 commit comments

Comments
 (0)