root/chrome/browser/ui/panels/detached_panel_drag_handler.h

/* [<][>][^][v][top][bottom][index][help] */

INCLUDED FROM


// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef CHROME_BROWSER_UI_PANELS_DETACHED_PANEL_DRAG_HANDLER_H_
#define CHROME_BROWSER_UI_PANELS_DETACHED_PANEL_DRAG_HANDLER_H_

#include "base/basictypes.h"

class Panel;
namespace gfx {
class Point;
}

// Handles all the drags to unstacked free-floating panels.
class DetachedPanelDragHandler {
 public:
  static void HandleDrag(Panel* panel, const gfx::Point& target_position);

 private:
  DISALLOW_IMPLICIT_CONSTRUCTORS(DetachedPanelDragHandler);
};

#endif  // CHROME_BROWSER_UI_PANELS_DETACHED_PANEL_DRAG_HANDLER_H_

/* [<][>][^][v][top][bottom][index][help] */