summaryrefslogtreecommitdiffstats
path: root/ash/first_run/first_run_helper_unittest.cc
diff options
context:
space:
mode:
authorsky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-05-14 01:56:05 +0000
committersky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-05-14 01:56:05 +0000
commitf1c9826afffc7f26e760d3a987b822ec401af0d9 (patch)
treea4b348ca510cda478d9e1d4982b5744e51bbf8b0 /ash/first_run/first_run_helper_unittest.cc
parentedf82d1c54334d45226bbb91d2cb51cd000f7b6f (diff)
downloadchromium_src-f1c9826afffc7f26e760d3a987b822ec401af0d9.zip
chromium_src-f1c9826afffc7f26e760d3a987b822ec401af0d9.tar.gz
chromium_src-f1c9826afffc7f26e760d3a987b822ec401af0d9.tar.bz2
Reduce creation of ViewsDelegate
By consolidating override of OnBeforeWidgetInit that finds shell many of the places that were setting a viewsdelegate no longer need to. Also, made AshTestHelper install a ViewsDelegate so that tests don't have. Because of removed an include of views_delegate from ash_test_helper I had to update some includes. BUG=none TEST=none R=ben@chromium.org Review URL: https://codereview.chromium.org/280863002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@270290 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ash/first_run/first_run_helper_unittest.cc')
-rw-r--r--ash/first_run/first_run_helper_unittest.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/ash/first_run/first_run_helper_unittest.cc b/ash/first_run/first_run_helper_unittest.cc
index a86c064..15e42bf 100644
--- a/ash/first_run/first_run_helper_unittest.cc
+++ b/ash/first_run/first_run_helper_unittest.cc
@@ -10,6 +10,7 @@
#include "ash/test/ash_test_base.h"
#include "ui/aura/test/event_generator.h"
#include "ui/events/event_handler.h"
+#include "ui/views/widget/widget.h"
#include "ui/views/window/dialog_delegate.h"
namespace ash {