Fix a bug where the window would not be shaped properly when dragging a new tab out.  It would sometimes not be shaped properly when opening a new window.
Fix a bug where the window would not be shaped properly when
dragging a new tab out.  It would sometimes not be shaped properly
when opening a new window.

The code to update the window frame looks to see if the window is
maximized.  state_ contains information as to whether or not
we're maximized, but it wasn't set yet resulting in a UMR.

Review URL: http://codereview.chromium.org/131079


git-svn-id: dd90618784b6a4b323ea0c23a071cb1c9e6f2ac7@18773 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser