Index: chrome/browser/ui/panels/panel_and_desktop_notification_browsertest.cc |
diff --git a/chrome/browser/ui/panels/panel_and_desktop_notification_browsertest.cc b/chrome/browser/ui/panels/panel_and_desktop_notification_browsertest.cc |
index b0e10b663b1d35d282d6a5ae09e0ef79b02b4ca8..981bf035983c971b400f5e0ecad3634d87ee8ab1 100644 |
--- a/chrome/browser/ui/panels/panel_and_desktop_notification_browsertest.cc |
+++ b/chrome/browser/ui/panels/panel_and_desktop_notification_browsertest.cc |
@@ -14,7 +14,6 @@ |
#include "chrome/browser/ui/panels/base_panel_browser_test.h" |
#include "chrome/browser/ui/panels/panel.h" |
#include "chrome/browser/ui/panels/panel_manager.h" |
-#include "chrome/browser/ui/panels/test_panel_mouse_watcher.h" |
#include "chrome/common/pref_names.h" |
#include "content/public/common/show_desktop_notification_params.h" |
#include "ui/gfx/screen.h" |
@@ -145,12 +144,6 @@ IN_PROC_BROWSER_TEST_F(PanelAndDesktopNotificationTest, AddAndClosePanel) { |
IN_PROC_BROWSER_TEST_F(PanelAndDesktopNotificationTest, |
ExpandAndCollapsePanel) { |
- // Disable mouse watcher since we don't want mouse movements to affect panel |
- // testing for title-only state. |
- PanelManager* panel_manager = PanelManager::GetInstance(); |
- PanelMouseWatcher* mouse_watcher = new TestPanelMouseWatcher(); |
- panel_manager->SetMouseWatcherForTesting(mouse_watcher); |
- |
Balloon* balloon = CreateBalloon(); |
// Create a docked panel. Expect that the notification balloon moves up to be |