Service for showing overlays (context menus, popovers, command palettes) that render outside
iframe boundaries in the renderer's top-level document. Renderer-only service.
Extensions in sandboxed WebView iframes cannot render UI above other content or outside their
iframe bounds. This service accepts overlay requests from WebViews, translates their
iframe-relative coordinates to document-level coordinates, and renders the overlay in the
renderer's React tree. Each method returns a promise that resolves when the user interacts with
the overlay or it is dismissed.
Only one overlay of each type (context menu, popover, command palette) can be active per WebView
at a time. Requesting a new overlay of the same type from the same WebView replaces the previous
one and rejects its promise with a PlatformError with code ABORTED.
Service for showing overlays (context menus, popovers, command palettes) that render outside iframe boundaries in the renderer's top-level document. Renderer-only service.
Extensions in sandboxed WebView iframes cannot render UI above other content or outside their iframe bounds. This service accepts overlay requests from WebViews, translates their iframe-relative coordinates to document-level coordinates, and renders the overlay in the renderer's React tree. Each method returns a promise that resolves when the user interacts with the overlay or it is dismissed.
Only one overlay of each type (context menu, popover, command palette) can be active per WebView at a time. Requesting a new overlay of the same type from the same WebView replaces the previous one and rejects its promise with a PlatformError with code ABORTED.