OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CHROME_BROWSER_UI_VIEWS_PANELS_X11_PANEL_RESIZER_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_PANELS_X11_PANEL_RESIZER_H_ |
6 #define CHROME_BROWSER_UI_VIEWS_PANELS_X11_PANEL_RESIZER_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_PANELS_X11_PANEL_RESIZER_H_ |
7 | 7 |
| 8 #include "base/macros.h" |
8 #include "ui/events/event_handler.h" | 9 #include "ui/events/event_handler.h" |
9 #include "ui/gfx/geometry/point.h" | 10 #include "ui/gfx/geometry/point.h" |
10 | 11 |
11 namespace aura { | 12 namespace aura { |
12 class Window; | 13 class Window; |
13 } | 14 } |
14 | 15 |
15 class Panel; | 16 class Panel; |
16 | 17 |
17 // EventHandler which implements special handling for resizing panels. Panels | 18 // EventHandler which implements special handling for resizing panels. Panels |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
64 // The edge that the user is resizing. | 65 // The edge that the user is resizing. |
65 int resize_component_; | 66 int resize_component_; |
66 | 67 |
67 // The location of the mouse click on the window border. | 68 // The location of the mouse click on the window border. |
68 gfx::Point initial_press_location_in_screen_; | 69 gfx::Point initial_press_location_in_screen_; |
69 | 70 |
70 DISALLOW_COPY_AND_ASSIGN(X11PanelResizer); | 71 DISALLOW_COPY_AND_ASSIGN(X11PanelResizer); |
71 }; | 72 }; |
72 | 73 |
73 #endif // CHROME_BROWSER_UI_VIEWS_PANELS_X11_PANEL_RESIZER_H_ | 74 #endif // CHROME_BROWSER_UI_VIEWS_PANELS_X11_PANEL_RESIZER_H_ |
OLD | NEW |