summaryrefslogtreecommitdiffstats
path: root/WebCore/platform/graphics/android/MediaLayer.h
diff options
context:
space:
mode:
authorDerek Sollenberger <djsollen@google.com>2011-01-26 09:58:09 -0500
committerDerek Sollenberger <djsollen@google.com>2011-01-26 09:58:09 -0500
commit35b48db52f4434b8a07ac3529efbb17b994769a1 (patch)
tree8149b6e2ce7a0537a9cc3d476ab8970d28b38c04 /WebCore/platform/graphics/android/MediaLayer.h
parent5db24b8cfc8994f0d6f5118ed8dca23028c74fed (diff)
downloadexternal_webkit-35b48db52f4434b8a07ac3529efbb17b994769a1.zip
external_webkit-35b48db52f4434b8a07ac3529efbb17b994769a1.tar.gz
external_webkit-35b48db52f4434b8a07ac3529efbb17b994769a1.tar.bz2
Plugin API to allow for y-axis inversion during rendering.
bug: 3393314 Change-Id: I913a6c073fe9ba56c14cdbcaa523b6e5a5af5219
Diffstat (limited to 'WebCore/platform/graphics/android/MediaLayer.h')
-rw-r--r--WebCore/platform/graphics/android/MediaLayer.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/WebCore/platform/graphics/android/MediaLayer.h b/WebCore/platform/graphics/android/MediaLayer.h
index eb56440..1944512 100644
--- a/WebCore/platform/graphics/android/MediaLayer.h
+++ b/WebCore/platform/graphics/android/MediaLayer.h
@@ -54,6 +54,7 @@ public:
void setCurrentTextureInfo(TextureInfo* info) { m_currentTextureInfo = info; }
TextureInfo* getCurrentTextureInfo() const { return m_currentTextureInfo; }
+ void invertContents(bool invertContent) { m_isContentInverted = invertContent; }
private:
@@ -62,6 +63,7 @@ private:
TextureInfo* m_currentTextureInfo;
+ bool m_isContentInverted;
};
} // namespace WebCore