Upstream version 7.35.139.0
[platform/framework/web/crosswalk.git] / src / ui / views / widget / desktop_aura / x11_desktop_window_move_client.h
index 42b7d02..44bdd91 100644 (file)
@@ -10,7 +10,6 @@
 #include "base/callback.h"
 #include "base/compiler_specific.h"
 #include "base/message_loop/message_loop.h"
-#include "base/timer/timer.h"
 #include "ui/gfx/point.h"
 #include "ui/views/views_export.h"
 #include "ui/views/widget/desktop_aura/x11_whole_screen_move_loop.h"
@@ -21,10 +20,6 @@ namespace aura {
 class WindowTreeHost;
 }
 
-namespace gfx {
-class Rect;
-}
-
 namespace views {
 
 // When we're dragging tabs, we need to manually position our window.
@@ -48,9 +43,6 @@ class VIEWS_EXPORT X11DesktopWindowMoveClient :
   virtual void EndMoveLoop() OVERRIDE;
 
  private:
-  // Callback from |window_move_timer_|.
-  void SetHostBounds(const gfx::Rect& rect);
-
   X11WholeScreenMoveLoop move_loop_;
 
   // We need to keep track of this so we can actually move it when reacting to
@@ -61,8 +53,6 @@ class VIEWS_EXPORT X11DesktopWindowMoveClient :
   // started. Used to calculate the window's new bounds relative to the current
   // location of the cursor.
   gfx::Vector2d window_offset_;
-
-  base::OneShotTimer<X11DesktopWindowMoveClient> window_move_timer_;
 };
 
 }  // namespace views