Fix the sign in crash in incognito

BUG=330694

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@244622 0039d316-1c4b-4281-b951-d872f2087c98
This CL uses the same animation code path for showing and hiding the dock background:
- When the ShelfBackgroundType changes
- When the dock background's visibility changes
This fixes bugs where the dock background would animate in a non desired way when it became visible but the ShelfBackgroundType did not change

BUG=331618
TEST=Manual, see bug

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@244623 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 244622
Restoring recently deleted unit tests.

Some unit tests were deleted during switching from merging to combining. Restoring them.
Other changes:
1. Switching server response parameter from string to a typed one in parseAndShowNotificationCards(). This way tests don’t have to stringify this parameter before passing to the tested function.
2. Changes in cards.js to match ‘actionUrls’ field definitions in annotation types. They can’t be null.

BUG=164227
TEST=No

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@244624 0039d316-1c4b-4281-b951-d872f2087c98
Add Embedded Flash Fullscreen switch to chrome://flags.

...for users who do not have access to a command-line, or wish the switch setting to be sticky across browser runs.

BUG=290403,256870
TBR=ben@chromium.org

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

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