Move the logic to update bounds for show type from WorkspaceLayoutManager to DefaultState

* Introduced WindowStateObserver::{Pre|Post}WindowShowTypeChange
 We had implicit dependency between OnWindowShowTypeChanged implementations. This clearly separate the things that should happen before and after the window's bounds is updated.

This is another step to introduce state machine.

BUG=318325
TEST=no functional change. all tests should pass.
TBR=benwells@chromium.org

Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=251191

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@251539 0039d316-1c4b-4281-b951-d872f2087c98
Fixing utf8 issue with kiosk mode message

BUG=343715
TEST=visual

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@251540 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 251540
Remove dead code in media galleries file system registry.

Since adding the preferences observer, RevokeOldGalleries() has been dead code.

BUG=NONE

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

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