Introduce Workspace related event, and moved the code to adjust bounds from WLM to DefaultState.

Cleaned up the code used when the window is added to the workspace. We used to try to maximize twice (depending on the code path).

Added test case for the case where the window with an empty bounds and maximzied state is added to the workspace.

* Next step: Make WMEvent into classes.

BUG=318325
TEST=WorkspaceLayoutManagerTest.MaximizeWithEmptySize

Review URL: https://codereview.chromium.org/138013008

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@252436 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 252436
NaCl: Address some TODOs from moving PPAPI IRT interface into the Chromium repo

BUG=https://code.google.com/p/nativeclient/issues/detail?id=3787
TEST=build
R=teravest@chromium.org

Review URL: https://codereview.chromium.org/171683019

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@252437 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 252437