summaryrefslogtreecommitdiffstats
path: root/ui/views/window/non_client_view.h
diff options
context:
space:
mode:
Diffstat (limited to 'ui/views/window/non_client_view.h')
-rw-r--r--ui/views/window/non_client_view.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/ui/views/window/non_client_view.h b/ui/views/window/non_client_view.h
index 1eac8c2..4000024 100644
--- a/ui/views/window/non_client_view.h
+++ b/ui/views/window/non_client_view.h
@@ -65,6 +65,12 @@ class VIEWS_EXPORT NonClientFrameView : public View,
virtual gfx::Rect GetWindowBoundsForClientBounds(
const gfx::Rect& client_bounds) const = 0;
+ // Gets the clip mask (in this View's parent's coordinates) that should be
+ // applied to the client view. Returns false if no special clip should be
+ // used.
+ virtual bool GetClientMask(const gfx::Size& size,
+ gfx::Path* mask) const;
+
// This function must ask the ClientView to do a hittest. We don't do this in
// the parent NonClientView because that makes it more difficult to calculate
// hittests for regions that are partially obscured by the ClientView, e.g.