| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 UI_VIEWS_CONTROLS_RESIZE_AREA_H_ | 5 #ifndef UI_VIEWS_CONTROLS_RESIZE_AREA_H_ |
| 6 #define UI_VIEWS_CONTROLS_RESIZE_AREA_H_ | 6 #define UI_VIEWS_CONTROLS_RESIZE_AREA_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/macros.h" |
| 10 #include "ui/views/view.h" | 11 #include "ui/views/view.h" |
| 11 | 12 |
| 12 namespace views { | 13 namespace views { |
| 13 | 14 |
| 14 class ResizeAreaDelegate; | 15 class ResizeAreaDelegate; |
| 15 | 16 |
| 16 //////////////////////////////////////////////////////////////////////////////// | 17 //////////////////////////////////////////////////////////////////////////////// |
| 17 // | 18 // |
| 18 // An invisible area that acts like a horizontal resizer. | 19 // An invisible area that acts like a horizontal resizer. |
| 19 // | 20 // |
| (...skipping 24 matching lines...) Expand all Loading... |
| 44 | 45 |
| 45 // The mouse position at start (in screen coordinates). | 46 // The mouse position at start (in screen coordinates). |
| 46 int initial_position_; | 47 int initial_position_; |
| 47 | 48 |
| 48 DISALLOW_COPY_AND_ASSIGN(ResizeArea); | 49 DISALLOW_COPY_AND_ASSIGN(ResizeArea); |
| 49 }; | 50 }; |
| 50 | 51 |
| 51 } // namespace views | 52 } // namespace views |
| 52 | 53 |
| 53 #endif // UI_VIEWS_CONTROLS_RESIZE_AREA_H_ | 54 #endif // UI_VIEWS_CONTROLS_RESIZE_AREA_H_ |
| OLD | NEW |