OLD | NEW |
| (Empty) |
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. | |
4 | |
5 #ifndef CHROME_BROWSER_UI_PANELS_STACKED_PANEL_DRAG_HANDLER_H_ | |
6 #define CHROME_BROWSER_UI_PANELS_STACKED_PANEL_DRAG_HANDLER_H_ | |
7 | |
8 #include "base/macros.h" | |
9 | |
10 class Panel; | |
11 namespace gfx { | |
12 class Point; | |
13 } | |
14 | |
15 // Handles all the drags to unstacked free-floating panels. | |
16 class StackedPanelDragHandler { | |
17 public: | |
18 static void HandleDrag(Panel* panel, | |
19 const gfx::Point& target_position, | |
20 bool in_orginal_collection); | |
21 | |
22 static void FinalizeDrag(Panel* panel); | |
23 | |
24 private: | |
25 DISALLOW_IMPLICIT_CONSTRUCTORS(StackedPanelDragHandler); | |
26 }; | |
27 | |
28 #endif // CHROME_BROWSER_UI_PANELS_STACKED_PANEL_DRAG_HANDLER_H_ | |
OLD | NEW |