When the widget is in the original state, and an end-user clicks the maximization icon in the widget window, the browser maximizes the widget in the whole browser window.
When the widget is in the maximized state, and an end-user clicks the restore icon in the widget window, the browser restores the widget window to its original size.