summaryrefslogtreecommitdiffstats
path: root/Source/WebCore/html/HTMLCanvasElement.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebCore/html/HTMLCanvasElement.h')
-rw-r--r--Source/WebCore/html/HTMLCanvasElement.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/Source/WebCore/html/HTMLCanvasElement.h b/Source/WebCore/html/HTMLCanvasElement.h
index e485835..39b6d36 100644
--- a/Source/WebCore/html/HTMLCanvasElement.h
+++ b/Source/WebCore/html/HTMLCanvasElement.h
@@ -2,6 +2,9 @@
* Copyright (C) 2004, 2006, 2009, 2010 Apple Inc. All rights reserved.
* Copyright (C) 2007 Alp Toker <alp@atoker.com>
* Copyright (C) 2010 Torch Mobile (Beijing) Co. Ltd. All rights reserved.
+ * Copyright (c) 2012, Code Aurora Forum. All rights reserved.
+ * Copyright (C) 2011, 2012 Sony Ericsson Mobile Communications AB
+ * Copyright (C) 2012 Sony Mobile Communications AB
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
@@ -114,7 +117,7 @@ public:
IntSize convertLogicalToDevice(const FloatSize&) const;
IntSize convertToValidDeviceSize(float width, float height) const;
- const SecurityOrigin& securityOrigin() const;
+ SecurityOrigin* securityOrigin() const;
void setOriginTainted() { m_originClean = false; }
bool originClean() const { return m_originClean; }
@@ -124,6 +127,12 @@ public:
#if ENABLE(WEBGL)
bool is3D() const;
+#if PLATFORM(ANDROID)
+ void documentDidBecomeActive();
+ void documentWillBecomeInactive();
+ void documentWasSuspended();
+ void documentWillResume();
+#endif
#endif
void makeRenderingResultsAvailable();