diff options
Diffstat (limited to 'views/controls/resize_area.h')
-rw-r--r-- | views/controls/resize_area.h | 18 |
1 files changed, 2 insertions, 16 deletions
diff --git a/views/controls/resize_area.h b/views/controls/resize_area.h index 9211229..3f06a1e 100644 --- a/views/controls/resize_area.h +++ b/views/controls/resize_area.h @@ -12,6 +12,8 @@ namespace views { +class ResizeAreaDelegate; + //////////////////////////////////////////////////////////////////////////////// // // An invisible area that acts like a horizontal resizer. @@ -19,22 +21,6 @@ namespace views { //////////////////////////////////////////////////////////////////////////////// class VIEWS_EXPORT ResizeArea : public View { public: - ////////////////////////////////////////////////////////////////////////////// - // - // The interface needed for getting notified about the resize event. - // - ////////////////////////////////////////////////////////////////////////////// - class ResizeAreaDelegate { - public: - // OnResize is sent when resizing is detected. |resize_amount| specifies the - // number of pixels that the user wants to resize by, and can be negative or - // positive (depending on direction of dragging and flips according to - // locale directionality: dragging to the left in LTR locales gives negative - // |resize_amount| but positive amount for RTL). |done_resizing| is true if - // the user has released the mouse. - virtual void OnResize(int resize_amount, bool done_resizing) = 0; - }; - static const char kViewClassName[]; explicit ResizeArea(ResizeAreaDelegate* delegate); |