Upstream version 10.39.225.0
[platform/framework/web/crosswalk.git] / src / ash / display / mouse_cursor_event_filter.h
index 3c5304f..2b60601 100644 (file)
@@ -26,8 +26,6 @@ class SharedDisplayEdgeIndicator;
 class ASH_EXPORT MouseCursorEventFilter : public ui::EventHandler,
                                           public DisplayController::Observer {
  public:
-  static bool IsMouseWarpInNativeCoordsEnabled();
-
   enum MouseWarpMode {
     WARP_ALWAYS,   // Always warp the mouse when possible.
     WARP_DRAG,     // Used when dragging a window. Top and bottom
@@ -71,6 +69,11 @@ class ASH_EXPORT MouseCursorEventFilter : public ui::EventHandler,
 
   FRIEND_TEST_ALL_PREFIXES(DragWindowResizerTest, WarpMousePointer);
 
+  // Moves the cursor to the point inside the root that is closest to
+  // the point_in_screen, which is outside of the root window.
+  static void MoveCursorTo(aura::Window* root,
+                           const gfx::Point& point_in_screen);
+
   // Warps the mouse cursor to an alternate root window when the
   // mouse location in |event|, hits the edge of the event target's root and
   // the mouse cursor is considered to be in an alternate display.
@@ -79,8 +82,6 @@ class ASH_EXPORT MouseCursorEventFilter : public ui::EventHandler,
 
   bool WarpMouseCursorInNativeCoords(const gfx::Point& point_in_native,
                                      const gfx::Point& point_in_screen);
-  bool WarpMouseCursorInScreenCoords(aura::Window* target_root,
-                                     const gfx::Point& point_in_screen);
 
   // Update the edge/indicator bounds based on the current
   // display configuration.