diff options
Diffstat (limited to 'views/widget/widget.h')
-rw-r--r-- | views/widget/widget.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/views/widget/widget.h b/views/widget/widget.h index dd23dd6..b5ba346 100644 --- a/views/widget/widget.h +++ b/views/widget/widget.h @@ -565,6 +565,9 @@ class VIEWS_EXPORT Widget : public internal::NativeWidgetDelegate, // TYPE_CONTROL and TYPE_TOOLTIP is not considered top level. bool is_top_level() const { return is_top_level_; } + // Returns the bounds of work area in the screen that Widget belongs to. + gfx::Rect GetWorkAreaBoundsInScreen() const; + // Overridden from NativeWidgetDelegate: virtual bool IsModal() const OVERRIDE; virtual bool IsDialogBox() const OVERRIDE; |