summaryrefslogtreecommitdiff
path: root/widget/GfxInfoWebGL.h
diff options
context:
space:
mode:
Diffstat (limited to 'widget/GfxInfoWebGL.h')
-rw-r--r--widget/GfxInfoWebGL.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/widget/GfxInfoWebGL.h b/widget/GfxInfoWebGL.h
new file mode 100644
index 0000000000..f18be14f0d
--- /dev/null
+++ b/widget/GfxInfoWebGL.h
@@ -0,0 +1,27 @@
+/* vim: se cin sw=2 ts=2 et : */
+/* -*- Mode: C++; 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 __mozilla_widget_GfxInfoWebGL_h__
+#define __mozilla_widget_GfxInfoWebGL_h__
+
+#include "nsString.h"
+
+namespace mozilla {
+namespace widget {
+
+class GfxInfoWebGL {
+public:
+ static nsresult GetWebGLParameter(const nsAString& aParam, nsAString& aResult);
+
+protected:
+ GfxInfoWebGL() { }
+};
+
+} // namespace widget
+} // namespace mozilla
+
+#endif