Add a minor text member to ui::MenuModel.
[chromium-blink-merge.git] / chrome / browser / ui / panels / detached_panel_drag_handler.h
blob74a539aac087e607eb0bf4cd781e0b15024fe1a6
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef CHROME_BROWSER_UI_PANELS_DETACHED_PANEL_DRAG_HANDLER_H_
6 #define CHROME_BROWSER_UI_PANELS_DETACHED_PANEL_DRAG_HANDLER_H_
8 #include "base/basictypes.h"
10 class Panel;
11 namespace gfx {
12 class Point;
15 // Handles all the drags to unstacked free-floating panels.
16 class DetachedPanelDragHandler {
17 public:
18 static void HandleDrag(Panel* panel, const gfx::Point& target_position);
20 private:
21 DISALLOW_IMPLICIT_CONSTRUCTORS(DetachedPanelDragHandler);
24 #endif // CHROME_BROWSER_UI_PANELS_DETACHED_PANEL_DRAG_HANDLER_H_