summaryrefslogtreecommitdiff
path: root/chromium/ui/gfx/path_win.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/ui/gfx/path_win.h')
-rw-r--r--chromium/ui/gfx/path_win.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/chromium/ui/gfx/path_win.h b/chromium/ui/gfx/path_win.h
new file mode 100644
index 00000000000..6df025b1bfc
--- /dev/null
+++ b/chromium/ui/gfx/path_win.h
@@ -0,0 +1,22 @@
+// Copyright (c) 2012 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_GFX_PATH_WIN_H_
+#define UI_GFX_PATH_WIN_H_
+
+#include <windows.h>
+
+#include "ui/base/ui_export.h"
+
+class SkPath;
+
+namespace gfx {
+
+// Creates a new HRGN given |path|. The caller is responsible for destroying
+// the returned region.
+UI_EXPORT HRGN CreateHRGNFromSkPath(const SkPath& path);
+
+} // namespace gfx
+
+#endif // UI_GFX_PATH_WIN_H_