mirror of
				https://bitbucket.org/chromiumembedded/cef
				synced 2025-06-05 21:39:12 +02:00 
			
		
		
		
	Fix dismissal of select popups on NotifyMoveOrResizeStarted (see issue #3294)
This impacts both Alloy and Chrome runtimes when using a native parent window.
This commit is contained in:
		@@ -684,14 +684,6 @@ void CefFrameImpl::DidStopLoading() {
 | 
			
		||||
  OnDraggableRegionsChanged();
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
void CefFrameImpl::MoveOrResizeStarted() {
 | 
			
		||||
  if (frame_) {
 | 
			
		||||
    auto web_view = frame_->View();
 | 
			
		||||
    if (web_view)
 | 
			
		||||
      web_view->CancelPagePopup();
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
void CefFrameImpl::ContextLifecycleStateChanged(
 | 
			
		||||
    blink::mojom::blink::FrameLifecycleState state) {
 | 
			
		||||
  if (state == blink::mojom::FrameLifecycleState::kFrozen && IsMain() &&
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user