File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -78,7 +78,7 @@ void ViewComponent::Resume()
7878```
7979
8080# Remarks
81- The CoreWebView2Controller must be invisible when the API is called. Otherwise, the
81+ The CoreWebView2Controller's IsVisible property must be false when the API is called. Otherwise, the
8282API fails with `HRESULT_FROM_WIN32(ERROR_INVALID_STATE)`.
8383Suspending is similar to putting a tab to sleep in the Edge browser. Suspending pauses
8484WebView script timers and animations, minimizes CPU usage for the associated
@@ -112,8 +112,8 @@ interface ICoreWebView2_2 : ICoreWebView2 {
112112 /// This is useful when a Win32 app becomes invisible, or when a Universal Windows
113113 /// Platform app is being suspended, during the suspended event handler before completing
114114 /// the suspended event.
115- /// The CoreWebView2Controller must be invisible when the API is called. Otherwise, the
116- /// API fails with `HRESULT_FROM_WIN32(ERROR_INVALID_STATE)`.
115+ /// The CoreWebView2Controller's IsVisible property must be false when the API is called.
116+ /// Otherwise, the API fails with `HRESULT_FROM_WIN32(ERROR_INVALID_STATE)`.
117117 /// Suspending is similar to putting a tab to sleep in the Edge browser. Suspending pauses
118118 /// WebView script timers and animations, minimizes CPU usage for the associated
119119 /// browser renderer process and allows the operating system to reuse the memory that was
You can’t perform that action at this time.
0 commit comments