summaryrefslogtreecommitdiffstats
path: root/ui/views/window/window_shape.h
diff options
context:
space:
mode:
Diffstat (limited to 'ui/views/window/window_shape.h')
-rw-r--r--ui/views/window/window_shape.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/ui/views/window/window_shape.h b/ui/views/window/window_shape.h
new file mode 100644
index 0000000..6db3add
--- /dev/null
+++ b/ui/views/window/window_shape.h
@@ -0,0 +1,25 @@
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef UI_VIEWS_WINDOW_WINDOW_SHAPE_H_
+#define UI_VIEWS_WINDOW_WINDOW_SHAPE_H_
+#pragma once
+
+#include "views/views_export.h"
+
+namespace gfx {
+class Size;
+class Path;
+}
+
+namespace views {
+
+// Sets the window mask to a style that most likely matches
+// ui/resources/window_*
+VIEWS_EXPORT void GetDefaultWindowMask(const gfx::Size& size,
+ gfx::Path* window_mask);
+
+} // namespace views
+
+#endif // UI_VIEWS_WINDOW_WINDOW_SHAPE_H_