DescriptionRemove the WM_SYSCOMMAND handling from the LegacyRenderWidgetHostHWND class.
This handler was added to forward the message to the parent window for cases where the size of the
parent and the LegacyRenderWidgetHostHWND window were the same.
We can directly call DefWindowProc on the parent window for non client mouse messages which generates
WM_SYSCOMMAND for the parent window.
This simplifies the LegacyRenderWidgetHostHWND class and also fixes bugs with WM_SYSCOMMAND messages not
getting generated correctly due to missing styles on the LegacyRenderWidgetHostHWND hwnd which does not have
the same styles as the parent.
BUG=377367
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=282248
Patch Set 1 #
Messages
Total messages: 7 (0 generated)
|