[Telemetry] Try to improve timeout error message.

DisplayNotifications() didn't get the fancy new error handling of SyncRequest.
This refactor lets them both benefit.

BUG=

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@234777 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 234777
Initialize the views::WebView's preferred size in content_shell

When running layout tests we want the web contents area to be set to the
shell's initial size (almost always 800x600). This sets the preferred size
on the views::WebView when initializing the web contents so the views layout
manager sizes us correctly. The code was previously trying to size the root window,
which results in the web contents area being slightly smaller as the layout
manager was reserving space for UI elements.

(Re-uploaded from 67193003, initial patch b/ jamesr).

TBR=jochen@chromium.org
BUG=309760

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@234778 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 234778
Make the headers for all windows except for restored tabbed browser windows short

BUG=278355
TEST=See steps in bug

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

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