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

Unified Diff: ash/display/mouse_cursor_event_filter.h

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 | « no previous file | ash/display/mouse_cursor_event_filter.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.h
diff --git a/ash/display/mouse_cursor_event_filter.h b/ash/display/mouse_cursor_event_filter.h
index 972158c47c58081825b901efa031b0ce453dd1f1..62c02cb6db39044231f608d0cdb483853fca5410 100644
--- a/ash/display/mouse_cursor_event_filter.h
+++ b/ash/display/mouse_cursor_event_filter.h
@@ -96,17 +96,11 @@ class ASH_EXPORT MouseCursorEventFilter : public ui::EventHandler,
void GetSrcAndDstRootWindows(aura::Window** src_window,
aura::Window** dst_window);
- void reset_was_mouse_warped_for_test() { was_mouse_warped_ = false; }
-
bool WarpMouseCursorIfNecessaryForTest(aura::Window* target_root,
const gfx::Point& point_in_screen);
MouseWarpMode mouse_warp_mode_;
- // This flag is used to suppress the accidental mouse warp back to the
- // original display.
- bool was_mouse_warped_;
-
// The bounds for warp hole windows. |dst_indicator_bounds_| is kept
// in the instance for testing.
gfx::Rect src_indicator_bounds_;
« no previous file with comments | « no previous file | ash/display/mouse_cursor_event_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698