summaryrefslogtreecommitdiffstats
path: root/gfx/src/nsScriptableRegion.h
diff options
context:
space:
mode:
Diffstat (limited to 'gfx/src/nsScriptableRegion.h')
-rw-r--r--gfx/src/nsScriptableRegion.h28
1 files changed, 28 insertions, 0 deletions
diff --git a/gfx/src/nsScriptableRegion.h b/gfx/src/nsScriptableRegion.h
new file mode 100644
index 000000000..094093c75
--- /dev/null
+++ b/gfx/src/nsScriptableRegion.h
@@ -0,0 +1,28 @@
+/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
+
+#ifndef nsScriptableRegion_h
+#define nsScriptableRegion_h
+
+#include "nsIScriptableRegion.h"
+#include "nsISupports.h"
+#include "nsRegion.h"
+#include "mozilla/Attributes.h"
+
+class nsScriptableRegion final : public nsIScriptableRegion {
+public:
+ nsScriptableRegion();
+
+ NS_DECL_ISUPPORTS
+
+ NS_DECL_NSISCRIPTABLEREGION
+
+private:
+ ~nsScriptableRegion() {}
+ nsIntRegion mRegion;
+};
+
+#endif