Index: ui/views/window/non_client_view.h |
diff --git a/ui/views/window/non_client_view.h b/ui/views/window/non_client_view.h |
index 1eac8c29ead65def7368481a52652dbc11da35ce..40000243b30eba0ff91f9218b601e231dd3e63e0 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. |