#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"
class WindowTreeHost;
}
-namespace gfx {
-class Rect;
-}
-
namespace views {
// When we're dragging tabs, we need to manually position our window.
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
// 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