summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorzork@chromium.org <zork@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-01-20 08:08:26 +0000
committerzork@chromium.org <zork@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-01-20 08:08:26 +0000
commita44934920585f4c7c0aa577cf705053c7cb22b7c (patch)
tree7947f59ef075a1822d1b58f6b16d3ef8f95f3f58
parentf177ffd84b0f1b94de05fa0166520783cb5cddb9 (diff)
downloadchromium_src-a44934920585f4c7c0aa577cf705053c7cb22b7c.zip
chromium_src-a44934920585f4c7c0aa577cf705053c7cb22b7c.tar.gz
chromium_src-a44934920585f4c7c0aa577cf705053c7cb22b7c.tar.bz2
Turn off initial focus on the status area to fix aura_shell_unittests
R=mazda@chromium.org BUG=None TEST=run the test Review URL: https://chromiumcodereview.appspot.com/9269003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@118422 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--ash/status_area/status_area_view.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/ash/status_area/status_area_view.cc b/ash/status_area/status_area_view.cc
index 61211f2..212a4cb 100644
--- a/ash/status_area/status_area_view.cc
+++ b/ash/status_area/status_area_view.cc
@@ -44,6 +44,7 @@ ASH_EXPORT views::Widget* CreateStatusArea() {
ash::internal::kShellWindowId_StatusContainer);
params.transparent = true;
widget->Init(params);
+ widget->set_focus_on_creation(false);
widget->SetContentsView(status_area_view);
widget->Show();
widget->GetNativeView()->SetName("StatusAreaView");