Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(286)

Unified Diff: chrome/browser/ui/panels/old_panel_and_desktop_notification_browsertest.cc

Issue 10836159: Fix bug 141013: OldPanelBrowserTest.CheckDockedPanelProperties is flaky (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix per feedback Created 8 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/panels/old_panel_and_desktop_notification_browsertest.cc
diff --git a/chrome/browser/ui/panels/old_panel_and_desktop_notification_browsertest.cc b/chrome/browser/ui/panels/old_panel_and_desktop_notification_browsertest.cc
index 5545a5bc74911add3d0625b1551882a62e28304e..5524369470d02a51af03f7ff34ddcf49d499f6bb 100644
--- a/chrome/browser/ui/panels/old_panel_and_desktop_notification_browsertest.cc
+++ b/chrome/browser/ui/panels/old_panel_and_desktop_notification_browsertest.cc
@@ -14,7 +14,6 @@
#include "chrome/browser/ui/panels/old_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"
@@ -148,12 +147,6 @@ IN_PROC_BROWSER_TEST_F(OldPanelAndDesktopNotificationTest, AddAndClosePanel) {
IN_PROC_BROWSER_TEST_F(OldPanelAndDesktopNotificationTest,
MAYBE_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
« no previous file with comments | « chrome/browser/ui/panels/old_docked_panel_browsertest.cc ('k') | chrome/browser/ui/panels/old_panel_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698