Fix "undefined" error messages in Chrome OS image editor.

Along the way, I removed the error ID concatenation 'GALLERY_' + error
that makes harder to grep.

BUG=326408

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@239373 0039d316-1c4b-4281-b951-d872f2087c98
[rAC, OSX] Ensure proper sizing on browser resize.

Makes sure that -requestRelayout will result in -performLayout on the
next pass through the event loop, even if none of the views have been
marked as needing display.

This is necessary for resize based on browser window resizes - these
online invoke -requestRelayout, but don't modify the frame yet, to keep
window and view sizes in sync.

BUG=325518
R=thakis@chromium.org

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

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