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 "ui/events/event_handler.h" | 8 #include "ui/events/event_handler.h" |
9 #include "ui/gfx/point.h" | 9 #include "ui/gfx/geometry/point.h" |
10 | 10 |
11 namespace aura { | 11 namespace aura { |
12 class Window; | 12 class Window; |
13 } | 13 } |
14 | 14 |
15 class Panel; | 15 class Panel; |
16 | 16 |
17 // EventHandler which implements special handling for resizing panels. Panels | 17 // EventHandler which implements special handling for resizing panels. Panels |
18 // should use X11PanelResizer instead of X11WindowEventFilter. | 18 // should use X11PanelResizer instead of X11WindowEventFilter. |
19 // When resizing a panel: | 19 // When resizing a panel: |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
64 // The edge that the user is resizing. | 64 // The edge that the user is resizing. |
65 int resize_component_; | 65 int resize_component_; |
66 | 66 |
67 // The location of the mouse click on the window border. | 67 // The location of the mouse click on the window border. |
68 gfx::Point initial_press_location_in_screen_; | 68 gfx::Point initial_press_location_in_screen_; |
69 | 69 |
70 DISALLOW_COPY_AND_ASSIGN(X11PanelResizer); | 70 DISALLOW_COPY_AND_ASSIGN(X11PanelResizer); |
71 }; | 71 }; |
72 | 72 |
73 #endif // CHROME_BROWSER_UI_VIEWS_PANELS_X11_PANEL_RESIZER_H_ | 73 #endif // CHROME_BROWSER_UI_VIEWS_PANELS_X11_PANEL_RESIZER_H_ |
OLD | NEW |