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

Unified Diff: ash/display/mouse_cursor_event_filter_unittest.cc

Issue 933053002: Remove unused MouseCursorEventFilter::was_mouse_warped_ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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
« no previous file with comments | « ash/display/mouse_cursor_event_filter.cc ('k') | ash/wm/drag_window_resizer_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/display/mouse_cursor_event_filter_unittest.cc
diff --git a/ash/display/mouse_cursor_event_filter_unittest.cc b/ash/display/mouse_cursor_event_filter_unittest.cc
index 3b4f9ee83a4247bc8f3bfff2a14a643b40ee7aa8..21a19bf7b4ffc3d466744d657cbb9f085906df1e 100644
--- a/ash/display/mouse_cursor_event_filter_unittest.cc
+++ b/ash/display/mouse_cursor_event_filter_unittest.cc
@@ -30,7 +30,6 @@ class MouseCursorEventFilterTest : public test::AshTestBase {
gfx::Point point_in_screen) {
bool is_warped = event_filter()->WarpMouseCursorIfNecessaryForTest(
target_root, point_in_screen);
- event_filter()->reset_was_mouse_warped_for_test();
return is_warped;
}
@@ -45,7 +44,6 @@ class MouseCursorEventFilterTest : public test::AshTestBase {
event_filter()->OnMouseEvent(&pressed);
bool is_warped = event_filter()->WarpMouseCursorIfNecessaryForTest(
target_root, point_in_screen);
- event_filter()->reset_was_mouse_warped_for_test();
ui::MouseEvent released(ui::ET_MOUSE_RELEASED, location,
location, 0, 0);
@@ -155,8 +153,6 @@ TEST_F(MouseCursorEventFilterTest, WarpMouseDifferentScaleDisplaysInNative) {
EXPECT_EQ("500,123",
aura::Env::GetInstance()->last_mouse_location().ToString());
- event_filter()->reset_was_mouse_warped_for_test();
-
// Touch the edge of 2nd display again and make sure it warps to
// 1st dislay.
EXPECT_TRUE(event_filter()->WarpMouseCursorIfNecessaryForTest(
« no previous file with comments | « ash/display/mouse_cursor_event_filter.cc ('k') | ash/wm/drag_window_resizer_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698