Trait webview2_sys::ICoreWebView2CompositionControllerInterop[][src]

pub trait ICoreWebView2CompositionControllerInterop: IUnknown {
    unsafe fn get_uiaprovider(
        &self,
        provider: *mut *mut *mut IUnknownVTable
    ) -> HRESULT;
unsafe fn get_root_visual_target(
        &self,
        target: *mut *mut *mut IUnknownVTable
    ) -> HRESULT;
unsafe fn put_root_visual_target(
        &self,
        target: *mut *mut IUnknownVTable
    ) -> HRESULT; }

Required methods

unsafe fn get_uiaprovider(
    &self,
    provider: *mut *mut *mut IUnknownVTable
) -> HRESULT
[src]

Returns the UI Automation Provider for the WebView.

unsafe fn get_root_visual_target(
    &self,
    target: *mut *mut *mut IUnknownVTable
) -> HRESULT
[src]

The RootVisualTarget is a visual in the hosting app’s visual tree. This visual is where the WebView will connect its visual tree. The app uses this visual to position the WebView within the app. The app still needs to use the Bounds property to size the WebView. The RootVisualTarget property can be an IDCompositionVisual or a Windows::UI::Composition::ContainerVisual. WebView will connect its visual tree to the provided visual before returning from the property setter. The app needs to commit on its device setting the RootVisualTarget property. The RootVisualTarget property supports being set to nullptr to disconnect the WebView from the app’s visual tree. \snippet ViewComponent.cpp SetRootVisualTarget \snippet ViewComponent.cpp BuildDCompTree

unsafe fn put_root_visual_target(
    &self,
    target: *mut *mut IUnknownVTable
) -> HRESULT
[src]

Set the RootVisualTarget property.

Loading content...

Trait Implementations

impl ComInterface for dyn ICoreWebView2CompositionControllerInterop[src]

type VTable = ICoreWebView2CompositionControllerInteropVTable

A COM compatible V-Table

type Super = dyn IUnknown

The interface that this interface inherits from

impl<C: ICoreWebView2CompositionControllerInterop> ProductionComInterface<C> for dyn ICoreWebView2CompositionControllerInterop[src]

Implementations on Foreign Types

impl<T: ICoreWebView2CompositionControllerInterop + ComInterface + ?Sized> ICoreWebView2CompositionControllerInterop for ComRc<T>[src]

impl<T: ICoreWebView2CompositionControllerInterop + ComInterface + ?Sized> ICoreWebView2CompositionControllerInterop for ComPtr<T>[src]

Loading content...

Implementors

Loading content...