Automated tests for full screen & mouse lock M16 features

Tests added to browsertest to improve coverage for fullscreen and mouse lock transitions.

Several helper functions added to BrowserTest. Removes need to friend many tests and simplifies tests to increases readability.

IsFullscreenForTab() removed globally leaving only IsFullscreenForTabOrPending.

IsFullscreenForBrowser() added to fullscreen controller to enable testing.

typedef BrowserWithTestWindowTest BrowserTest; removed due to name conflict.

BUG=100678
TEST=

Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=129448

Review URL: https://chromiumcodereview.appspot.com/9702055

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@130642 0039d316-1c4b-4281-b951-d872f2087c98
12 files changed