From 33410c838b3d0ad411bb16b905e0188eacb40fb9 Mon Sep 17 00:00:00 2001 From: "johnnyg@chromium.org" Date: Wed, 14 Apr 2010 19:33:34 +0000 Subject: Enable support for notifications layout tests in test shell. BUG=none TEST=notifications layout tests Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=44372 Reverted. Review URL: http://codereview.chromium.org/1549039 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@44515 0039d316-1c4b-4281-b951-d872f2087c98 --- webkit/tools/test_shell/test_shell.cc | 3 +++ 1 file changed, 3 insertions(+) (limited to 'webkit/tools/test_shell/test_shell.cc') diff --git a/webkit/tools/test_shell/test_shell.cc b/webkit/tools/test_shell/test_shell.cc index d529ba7..577fd1d 100644 --- a/webkit/tools/test_shell/test_shell.cc +++ b/webkit/tools/test_shell/test_shell.cc @@ -46,6 +46,7 @@ #include "webkit/glue/webkit_glue.h" #include "webkit/glue/webpreferences.h" #include "webkit/tools/test_shell/accessibility_controller.h" +#include "webkit/tools/test_shell/notification_presenter.h" #include "webkit/tools/test_shell/simple_resource_loader_bridge.h" #include "webkit/tools/test_shell/test_navigation_controller.h" #include "webkit/tools/test_shell/test_shell_devtools_agent.h" @@ -134,6 +135,7 @@ TestShell::TestShell() plain_text_controller_.reset(new PlainTextController(this)); text_input_controller_.reset(new TextInputController(this)); navigation_controller_.reset(new TestNavigationController(this)); + notification_presenter_.reset(new TestNotificationPresenter(this)); URLRequestFilter* filter = URLRequestFilter::GetInstance(); filter->AddHostnameHandler("test-shell-resource", "inspector", @@ -623,6 +625,7 @@ void TestShell::ResetTestController() { accessibility_controller_->Reset(); layout_test_controller_->Reset(); event_sending_controller_->Reset(); + notification_presenter_->Reset(); delegate_->Reset(); } -- cgit v1.1