You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
*[/picture-inserter-content-script/](https://github.com/microsoft/MicrosoftEdge-Extensions/tree/main/Extension%20samples/picture-inserter-content-script) - source code of this sample.
525
+
*[/picture-inserter-content-script/](https://github.com/microsoft/MicrosoftEdge-Extensions/tree/main/Extension-samples/picture-inserter-content-script) - source code of this sample.
*[/picture-viewer-popup-webpage/](https://github.com/microsoft/MicrosoftEdge-Extensions/tree/main/Extension%20samples/picture-viewer-popup-webpage) - source code of this sample.
337
+
*[/picture-viewer-popup-webpage/](https://github.com/microsoft/MicrosoftEdge-Extensions/tree/main/Extension-samples/picture-viewer-popup-webpage) - source code of this sample.
| Demo name | Description | Repo directory | Live demo page |
27
-
|:---|:---|:---|:---|
28
-
| Learn to build a Microsoft Edge extension that extends DevTools. | Used for [Create a DevTools extension, adding a custom tool tab and panel](./developer-guide/devtools-extension.md). |[/devtools-extension/](https://github.com/MicrosoftEdge/Demos/tree/main/devtools-extension)| n/a |
| Panel | A basic DevTools extension with a panel. |[/devtools-extension/sample 2/](https://github.com/MicrosoftEdge/Demos/tree/main/devtools-extension/sample%202)| n/a |
| Inspect | A basic DevTools extension that interacts with the Inspected page. |[/devtools-extension/sample 4/](https://github.com/MicrosoftEdge/Demos/tree/main/devtools-extension/sample%204)| n/a |
| Picture viewer pop-up webpage | A browser extension, without JavaScript, that displays the `stars.jpeg` image in a small webpage in a pop-up in any Microsoft Edge tab. |[/picture-viewer-popup-webpage/](https://github.com/microsoft/MicrosoftEdge-Extensions/tree/main/Extension-samples/picture-viewer-popup-webpage) in **microsoft / MicrosoftEdge-Extensions** repo |[Sample: Picture viewer pop-up webpage](./getting-started/picture-viewer-popup-webpage.md)|
28
+
| Picture inserter using content script | Uses JavaScript code to insert the `stars.jpeg` image at the top of the current webpage, inside the `<body>` element. |[/picture-inserter-content-script/](https://github.com/microsoft/MicrosoftEdge-Extensions/tree/main/Extension-samples/picture-inserter-content-script) in **microsoft / MicrosoftEdge-Extensions** repo |[Sample: Picture inserter using content script](./getting-started/picture-inserter-content-script.md)|
29
+
| Basic | A basic DevTools extension. |[/devtools-extension/sample 1/](https://github.com/MicrosoftEdge/Demos/tree/main/devtools-extension/sample%201) in **MicrosoftEdge / Demos** repo |[Step 1: Create a basic Microsoft Edge extension that has a DevTools webpage](./developer-guide/devtools-extension.md#step-1-create-a-basic-microsoft-edge-extension-that-has-a-devtools-webpage) in _Create a DevTools extension, adding a custom tool tab and panel_. |
30
+
| Panel | A basic DevTools extension with a panel. |[/devtools-extension/sample 2/](https://github.com/MicrosoftEdge/Demos/tree/main/devtools-extension/sample%202) in **MicrosoftEdge / Demos** repo |[Step 2: Add a custom tool in DevTools](./developer-guide/devtools-extension.md#step-2-add-a-custom-tool-in-devtools) in _Create a DevTools extension, adding a custom tool tab and panel_. |
31
+
| CDP | A basic DevTools extension invoking Chrome Developer Protocol (CDP) APIs. |[/devtools-extension/sample 3/](https://github.com/MicrosoftEdge/Demos/tree/main/devtools-extension/sample%203) in **MicrosoftEdge / Demos** repo |[Step 3: Display memory information by calling extension APIs](./developer-guide/devtools-extension.md#step-3-display-memory-information-by-calling-extension-apis) in _Create a DevTools extension, adding a custom tool tab and panel_. |
32
+
| Inspect | A basic DevTools extension that interacts with the Inspected page. |[/devtools-extension/sample 4/](https://github.com/MicrosoftEdge/Demos/tree/main/devtools-extension/sample%204) in **MicrosoftEdge / Demos** repo |[Step 4: Interact between the webpage and DevTools](./developer-guide/devtools-extension.md#step-4-interact-between-the-webpage-and-devtools) in _Create a DevTools extension, adding a custom tool tab and panel_. |
Copy file name to clipboardExpand all lines: microsoft-edge/webview2/concepts/overview-features-apis.md
+25-84Lines changed: 25 additions & 84 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -87,6 +87,7 @@ when adding an h4 heading, add nav link below the h2
87
87
*[Rendering WebView2 using Composition](#rendering-webview2-using-composition)
88
88
*[Connecting to the visual tree](#connecting-to-the-visual-tree)
89
89
*[Forwarding input](#forwarding-input)
90
+
*[Allow input event messages to pass through the browser window](#allow-input-event-messages-to-pass-through-the-browser-window)
90
91
*[Drag and drop](#drag-and-drop)
91
92
*[Accessibility](#accessibility)
92
93
*[Environment options](#environment-options)
@@ -170,13 +171,6 @@ See also:
170
171
171
172
The Microsoft Edge WebView2 control lets you embed web content into native applications. You can communicate between native code and web code using simple messages, JavaScript code, and native objects. The following are the main APIs for communicating between web and native code.
*[Enable or disable the browser responding to accelerator keys (shortcut keys)](#enable-or-disable-the-browser-responding-to-accelerator-keys-shortcut-keys)
*[Launch an external URI scheme](#launch-an-external-uri-scheme)
2118
-
2119
2066
2120
2067
<!-- ------------------------------ -->
2121
2068
#### Manage content loaded into WebView2
@@ -2671,17 +2618,6 @@ Use these APIs to set up the WebView2 rendering system if your host app doesn't
2671
2618
2672
2619
***No UI framework, and using Composition** - If your app UI is built using [DirectComposition](/windows/win32/directcomp/directcomposition-portal) or [Windows.UI.Composition](/uwp/api/Windows.UI.Composition), you should use `CoreWebView2CompositionController` rather than using these APIs; see [Rendering WebView2 using Composition](#rendering-webview2-using-composition), below.
2673
2620
2674
-
2675
-
**Subsections below:**
2676
-
*[Sizing, positioning, and visibility](#sizing-positioning-and-visibility)
For composition-based WebView2 rendering, use `CoreWebView2Environment` to create a `CoreWebView2CompositionController`. `CoreWebView2CompositionController` provides the same APIs as `CoreWebView2Controller`, but also includes APIs for composition-based rendering.
2964
2900
2965
-
**Subsections below:**
2966
-
*[Connecting to the visual tree](#connecting-to-the-visual-tree)
Manage the user data folder (UDF), which is a folder on the user's machine. The UDF contains data related to the host app and WebView2. WebView2 apps use user data folders to store browser data, such as cookies, permissions, and cached resources.
3137
3086
3138
-
**Subsections below:**
3139
-
*[Multiple profiles](#multiple-profiles)
3140
-
*[Delete a profile](#delete-a-profile)
3141
-
3142
3087
See also:
3143
3088
*[Manage user data folders](./user-data-folder.md)
3144
3089
*[Clear browsing data from the user data folder](./clear-browsing-data.md)
@@ -3374,10 +3319,6 @@ See also:
3374
3319
3375
3320
Analyze and debug performance, handle performance-related events, and manage memory usage to increase the responsiveness of your app.
0 commit comments