summaryrefslogtreecommitdiffstats
path: root/WebCore/html/canvas/WebGLGetInfo.h
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/html/canvas/WebGLGetInfo.h')
-rw-r--r--WebCore/html/canvas/WebGLGetInfo.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/WebCore/html/canvas/WebGLGetInfo.h b/WebCore/html/canvas/WebGLGetInfo.h
index b35add8..94f6f9b 100644
--- a/WebCore/html/canvas/WebGLGetInfo.h
+++ b/WebCore/html/canvas/WebGLGetInfo.h
@@ -53,6 +53,7 @@ class WebGLGetInfo {
public:
enum Type {
kTypeBool,
+ kTypeBoolArray,
kTypeFloat,
kTypeLong,
kTypeNull,
@@ -70,6 +71,7 @@ public:
};
WebGLGetInfo(bool value);
+ WebGLGetInfo(const bool* value, int size);
WebGLGetInfo(float value);
WebGLGetInfo(long value);
// Represents the NULL value and type
@@ -92,6 +94,7 @@ public:
Type getType() const;
bool getBool() const;
+ const Vector<bool>& getBoolArray() const;
float getFloat() const;
long getLong() const;
const String& getString() const;
@@ -110,6 +113,7 @@ public:
private:
Type m_type;
bool m_bool;
+ Vector<bool> m_boolArray;
float m_float;
long m_long;
String m_string;