Focus/Blur content of NativeAppWindowCocoa at (de)activation.

Using RestoreFocus()/StoreFocus(). It also prevents the
window to be focused when created inactive.

TESTS=cl 102293002 and cl 101323005 have (disabled) tests for this.

BUG=326987

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@241572 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 241572
ui/views: Remove gmock dependency from views_unittests.

gmock is banned, so we rewrite the tests without relying in the black
magic of gmock.

BUG=134675
TEST=views_unittests --gtest_filter=ViewTest.*,SingleSplitViewTest.*
R=ben@chromium.org,sadrul@chromium.org

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

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