Move Gtk initialization earlier in BrowserMain.

In order to work around bugs in glib, it must be initialized before
any threads are started in the process. If this is not done then the
process will intermittently hang upon exit.

BUG=309093
R=erg@chromium.org, jorgelo@chromium.org, sky@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@230547 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 230547
Blacklist d3d11 on Intel GPUs

BUG=310808

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@230548 0039d316-1c4b-4281-b951-d872f2087c98
Adds a unit test to make sure Widget::GetNativeView() is hidden

If the window is initially shown it'll animate and the client will
have no control over it. I landed the fix already, but want a
regression test too.

BUG=180071
TEST=test only
R=ben@chromium.org

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

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